[BUG] disable buffer read timeout when reading stats
The buffer read timeouts were not reset when stats were produced. This
caused unneeded wakeups.
diff --git a/src/proto_http.c b/src/proto_http.c
index a5319e0..7b35ff7 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -5152,6 +5152,9 @@
/* The request is valid, the user is authenticated. Let's start sending
* data.
*/
+ EV_FD_CLR(t->cli_fd, DIR_RD);
+ buffer_shutr(t->req);
+ buffer_shutr(t->rep);
t->cli_state = CL_STSHUTR;
t->req->rlim = t->req->data + BUFSIZE; /* no more rewrite needed */
t->logs.tv_request = now;