]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: stream: Handle TASK_WOKEN_RES as a stream event
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Mar 2026 11:50:36 +0000 (12:50 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Mar 2026 14:16:10 +0000 (15:16 +0100)
commit13c34451632202cde45a44d299c50a37cf0772f3
tree0ace4e008139c190370254f15c51ae55bb865a3c
parentf41e684e9a38107cb4c12d1a974162bd0951998c
BUG/MEDIUM: stream: Handle TASK_WOKEN_RES as a stream event

The conversion of TASK_WOKEN_RES to a stream event was missing. Among other
things, this wakeup reason is used when a stream is dequeued. So it was
possible to skip the connection establishment if the stream was also woken
up for a timer reason. When this happened, the stream was blocked till the
queue timeout expiration.

Converting TASK_WOKEN_RES to STRM_EVT_RES fixes the issue.

This patch should fix the issue #3290. It must be backported as far as 3.2.
include/haproxy/stream-t.h
include/haproxy/stream.h