summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/uhttpd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-21 01:40:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-21 01:40:50 +0000
commit707f9dd2d0979f655e583031d81284aff499f1ac (patch)
tree09ccd801e7224677a99ce7ec47a9a1b591ddec07 /contrib/package/uhttpd
parentcee885295be70eb77323d0f12dc35252efc24d29 (diff)
uhttpd: relax cgi timeout
Diffstat (limited to 'contrib/package/uhttpd')
-rw-r--r--contrib/package/uhttpd/src/uhttpd-cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-cgi.c b/contrib/package/uhttpd/src/uhttpd-cgi.c
index 9e9e96410..4342d279e 100644
--- a/contrib/package/uhttpd/src/uhttpd-cgi.c
+++ b/contrib/package/uhttpd/src/uhttpd-cgi.c
@@ -357,7 +357,7 @@ void uh_cgi_request(struct client *cl, struct http_request *req, struct path_inf
FD_SET(rfd[0], &reader);
FD_SET(wfd[1], &writer);
- timeout.tv_sec = 3;
+ timeout.tv_sec = 15;
timeout.tv_usec = 0;
/* wait until we can read or write or both */
@@ -520,7 +520,7 @@ void uh_cgi_request(struct client *cl, struct http_request *req, struct path_inf
}
}
- /* no activity for 3 seconds... looks dead */
+ /* no activity for 15 seconds... looks dead */
else
{
uh_http_sendhf(cl, 504, "Gateway Timeout",