]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stream: remove unneeded test on appctx during initialization
authorWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 14:49:18 +0000 (16:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:35 +0000 (19:33 +0200)
commit369d5aa208bab943150dbc8951fee4537d190075
tree5c6a9d97909f19c6dc208d5344c94f836f22e0a9
parente4ebe261b14bca06fc13c89e725e1552b2efc8cc
CLEANUP: stream: remove unneeded test on appctx during initialization

Now that the data consumption from the endpoint is the default setting,
we can generalize the pre-clearing of the wont_consume flag, which is
no more specific to applets. In practice it's not needed anymore to do
it, but since streams might be initiatied from asynchronous applets,
these might have blocked their consumption side before creating the
stream thus it's safer to preserve the clearing of the flag.
src/stream.c