]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stconn: Don't requeue the stream's task after I/O
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 14 Feb 2023 14:49:15 +0000 (15:49 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Feb 2023 13:52:15 +0000 (14:52 +0100)
commitd7111e7ace164a2ffac2219d619776dd6b68be87
tree179aec8e9f49e8140cfa4b452813043731a0e388
parentf8413cba2a3e824747b9ef3ea3b65a07b03b0292
MEDIUM: stconn: Don't requeue the stream's task after I/O

After I/O handling, in sc_notify(), the stream's task is no longer
requeue. The stream may be woken up. But its task is not requeue. It is
useless nowadays and only avoids a call to process_stream() for edge
cases. It is not really a big deal if the stream is woken up for nothing
because its task expired. At worst, it will be responsible to compute its
new expiration date.
src/stconn.c