summaryrefslogtreecommitdiffhomepage
path: root/src/reqs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reqs.c')
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 365b27d..87a1a82 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1490,7 +1490,7 @@ get_request_entity(struct conn_s *connptr)
FD_ZERO (&rset);
FD_SET (connptr->client_fd, &rset);
- tv.tv_sec = 0;
+ tv.tv_sec = config->idletimeout;
tv.tv_usec = 0;
ret = select (connptr->client_fd + 1, &rset, NULL, NULL, &tv);