MEDIUM: http-ana: Deal with L7 retries in HTTP analysers
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Oct 2020 13:18:50 +0000 (15:18 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Jan 2021 15:37:14 +0000 (16:37 +0100)
commit5b82cc5b5c350c7cfa194cc6bc16ad9308784541
treeaf5d8b0080762962035212ca36d30cb1dd464031
parent991febdfe0c4b5f06c54545dc0e067f4c33cf93a
MEDIUM: http-ana: Deal with L7 retries in HTTP analysers

The code dealing with the copy of requests in the L7-buffer and the
retransmits during L7 retries has been moved in the HTTP analysers. The copy
is now performed in the REQ_HTTP_XFER_BODY analyser and the L7 retries is
performed in the RES_WAIT_HTTP analyser. This way, si_cs_recv() and
si_cs_send() don't care of it anymore. It is much more natural to deal with
L7 retry in HTTP analysers.
src/http_ana.c
src/stream.c
src/stream_interface.c