]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: httpclient: enable request buffering
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Mar 2022 16:57:15 +0000 (17:57 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 6 Apr 2022 09:43:01 +0000 (11:43 +0200)
commitccc7ee45f989744ee9c8704aa804d696e5be6745
tree4dbd9fe4ffe005d4b4f9c6bbe1b347bc6ae220eb
parente8041fe8bcc95234a210c595912a22078c03472d
MINOR: httpclient: enable request buffering

The request buffering is required for doing l7 retry. The IO handler of
the httpclient need to be rework for that.

This patch change the IO handler so it copies partially the data instead
of swapping buffer. This is needed because the b_xfer won't never work
if the destination buffer is not empty, which is the case when
buffering.
src/http_client.c