projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee8852
)
uhttpd: relax cgi timeout
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 21 Mar 2010 01:40:50 +0000
(
01:40
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 21 Mar 2010 01:40:50 +0000
(
01:40
+0000)
contrib/package/uhttpd/src/uhttpd-cgi.c
patch
|
blob
|
history
diff --git
a/contrib/package/uhttpd/src/uhttpd-cgi.c
b/contrib/package/uhttpd/src/uhttpd-cgi.c
index 9e9e964102e12816f34b07fb5b879da9e3c4787c..4342d279ebe1833bf6745bf15ffc7af9d8327b20 100644
(file)
--- 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",