diff options
Diffstat (limited to 'httpd.h')
-rw-r--r-- | httpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -310,6 +310,7 @@ static enum mw_qev h1_404(struct mw_h1 *h1) static const char r404[] = "HTTP/1.1 404 Not Found\r\n" "Content-Type: text/html\r\n" "Content-Length: 10\r\n\r\n" "Not Found\n"; + if (h1->has_input) h1->persist = 0; return h1_res_oneshot(h1, r404, sizeof(r404) - 1); } |