From: Jo-Philipp Wich Date: Sun, 21 Mar 2010 01:40:50 +0000 (+0000) Subject: uhttpd: relax cgi timeout X-Git-Tag: 0.10.0~797 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=707f9dd2d0979f655e583031d81284aff499f1ac uhttpd: relax cgi timeout --- 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",