MINOR: httpclient: request streaming with a callback
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 28 Oct 2021 13:34:26 +0000 (15:34 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 28 Oct 2021 14:24:14 +0000 (16:24 +0200)
commit0da616ee18221ca7050f302df18cc12b272acd4b
tree5e7f69cfa5ffd1a914dcd64bd37019a38bfe9890
parent04065b87ced8bc9aad204942a49253e1650af48b
MINOR: httpclient: request streaming with a callback

This patch add a way to handle HTTP requests streaming using a
callback.

The end of the data must be specified by using the "end" parameter in
httpclient_req_xfer().
include/haproxy/http_client-t.h
include/haproxy/http_client.h
src/http_client.c