MINOR: http-ana: Remove useless update of t_idle duration of the stream

Becaues the stream is now created after the request headers parsing, the
idle duration from the session is always up-to-date.
This commit is contained in:
Christopher Faulet 2020-09-30 15:12:13 +02:00
parent 3ced1d1db4
commit 4a8779f808

View File

@ -108,10 +108,6 @@ int http_wait_for_request(struct stream *s, struct channel *req, int an_bit)
/* we're speaking HTTP here, so let's speak HTTP to the client */
s->srv_error = http_return_srv_error;
/* If there is data available for analysis, log the end of the idle time. */
if (c_data(req) && s->logs.t_idle == -1)
s->logs.t_idle = sess->t_idle;
/*
* Now we quickly check if we have found a full valid request.
* If not so, we check the FD and buffer states before leaving.