commit | adb222004120a3ab242d04469e08e44d8ae9c35b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Dec 12 10:32:09 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 12 13:56:35 2018 +0100 |
tree | 05e9eca9e91e1fe22197ccd1b3260f77bbc0342e | |
parent | 256bf0d37b0aa7d2bc22a5af00a7124092079815 [diff] |
BUG/MEDIUM: mux-h1: Fix the zero-copy on output for chunked messages The commit 3815b227f ("MEDIUM: mux-h1: implement true zero-copy of DATA blocks") broke the output of chunked messages. When the zero-copy was performed on such messages, no chunk size was emitted nor ending CRLF. Now, the chunked envelope is added when necessary. We have at least the size of the struct htx to emit it. So 40 bytes for now. It should be enough.