Apply patch #10511: remove code with no effect in httpd.c

This commit is contained in:
Mike Kleshov 2025-03-21 19:35:05 +03:00
parent 6c8874bf5d
commit f877b457a1

View File

@ -2118,12 +2118,6 @@ http_parse_request(struct pbuf *inp, struct http_state *hs, struct altcp_pcb *pc
struct pbuf *q = inp;
#endif /* LWIP_HTTPD_SUPPORT_REQUESTLIST */
err = http_post_request(q, hs, data, data_len, uri, sp2);
if (err != ERR_OK) {
/* restore header for next try */
*sp1 = ' ';
*sp2 = ' ';
uri[uri_len] = ' ';
}
if (err == ERR_ARG) {
goto badrequest;
}