]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: http-client: Eat output data when waiting for appctx shutdown
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 05:38:34 +0000 (07:38 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 05:43:26 +0000 (07:43 +0200)
commit1901c1bf5a55eb3e1ba9a85a8463e0474d63d927
treeb7d2027a4b267d275718342df83b318504f7b3b9
parent1fb97e47f01ec88e7c9925fc7c94dd2d8bb8a364
BUG/MEDIUM: http-client: Eat output data when waiting for appctx shutdown

When the http-client applet is executed while a shut is pending, the
remaining output data must always be consumed. Otherwise, this can prevent
the stream to exit, leading to a spinning loop on the applet.

It is 2.8-specific. No backport needed.
src/http_client.c