commit | ce1a0292bf718bd963af4fec1bc9cc6fba432d51 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri May 17 15:38:29 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Fri May 17 15:49:21 2019 +0200 |
tree | 91ee88f42a9bee141d991229cf3c7f4bb704b4f4 | |
parent | 4e2b646d60298f6b93d604911fcfffb1eab6e3d8 [diff] |
BUG/MEDIUM: streams: Don't use CF_EOI to decide if the request is complete. In si_cs_send(), don't check CF_EOI on the request channel to decide if the request is complete and if we should save the buffer to eventually attempt L7 retries. The flag may not be set yet, and it may too be set to early, before we're done modifying the buffer. Instead, get the msg, and make sure its state is HTTP_MSG_DONE. That way we will store the request buffer when sending it even in H2.