aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index d06bc2776..aa8ce8dcb 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1253,10 +1253,10 @@ static unsigned get_line(void)
1253 unsigned count; 1253 unsigned count;
1254 char c; 1254 char c;
1255 1255
1256 alarm(HEADER_READ_TIMEOUT);
1257 count = 0; 1256 count = 0;
1258 while (1) { 1257 while (1) {
1259 if (hdr_cnt <= 0) { 1258 if (hdr_cnt <= 0) {
1259 alarm(HEADER_READ_TIMEOUT);
1260 hdr_cnt = safe_read(STDIN_FILENO, hdr_buf, sizeof_hdr_buf); 1260 hdr_cnt = safe_read(STDIN_FILENO, hdr_buf, sizeof_hdr_buf);
1261 if (hdr_cnt <= 0) 1261 if (hdr_cnt <= 0)
1262 goto ret; 1262 goto ret;