Skip to content

Commit f877b45

Browse files
committed
Apply patch #10511: remove code with no effect in httpd.c
1 parent 6c8874b commit f877b45

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/apps/http/httpd.c

-6
Original file line numberDiff line numberDiff line change
@@ -2118,12 +2118,6 @@ http_parse_request(struct pbuf *inp, struct http_state *hs, struct altcp_pcb *pc
21182118
struct pbuf *q = inp;
21192119
#endif /* LWIP_HTTPD_SUPPORT_REQUESTLIST */
21202120
err = http_post_request(q, hs, data, data_len, uri, sp2);
2121-
if (err != ERR_OK) {
2122-
/* restore header for next try */
2123-
*sp1 = ' ';
2124-
*sp2 = ' ';
2125-
uri[uri_len] = ' ';
2126-
}
21272121
if (err == ERR_ARG) {
21282122
goto badrequest;
21292123
}

0 commit comments

Comments
 (0)