BUG/MEDIUM: stconn: Report read activity when a stream is attached to front SC
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Sep 2023 06:46:15 +0000 (08:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 Sep 2023 07:29:27 +0000 (09:29 +0200)
commit34645a6365827f1cd3929afe8c8e7055fa4556ee
treef991d5f0edb6cff9c3e00ef304c57dd78e737631
parent3ec156f02706ec84198da1d7cb53ea638fe96980
BUG/MEDIUM: stconn: Report read activity when a stream is attached to front SC

It only concerns the front SC. But it is important to report a read activity
when a stream is created and attached to the front SC, especially in TCP. In
HTTP, when this happens, the request was necessarily received. But in TCP,
the client may open a connection without sending anything. We must still
report a first read activity in this case to be able to properly report
client timeout.

This patch must be backported to 2.8.
src/stconn.c