]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: http-ana: apply tunnel timeout with data filters
authorManu Nicolas <e.nicolas@criteo.com>
Thu, 3 Sep 2026 14:10:54 +0000 (14:10 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 8 Sep 2026 14:29:49 +0000 (16:29 +0200)
commit6b81d9a01d8afd33d58c956363b03e806ae7ce29
treef872f4605a60388995fb13a2e7146999cebfe16b
parent559c570b472d0f70ac298149d600af711969ab12
BUG/MEDIUM: http-ana: apply tunnel timeout with data filters

The tunnel timeout is installed by process_stream() only once all
analysers are gone. HTTP data filters keep their transfer and end
analysers attached after a protocol upgrade. A stream using, for
example, set-bandwidth-limit therefore remains on its client and server
timeouts even though both HTTP messages are in tunnel mode. A short
client timeout can close a WebSocket before its heartbeat.

Apply the per-stream tunnel timeout when the second HTTP message enters
tunnel mode. Data-filter analysers remain active and continue to process
tunneled data.

It should be backported as far as 2.6.
reg-tests/http-messaging/websocket.vtc
src/http_ana.c