commit | 29a22bc0a7fcc25e02b1fd173c8f0095d653d501 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Tue Dec 04 18:16:45 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 04 18:42:33 2018 +0100 |
tree | bec7cf14187dcfa75ca2a8c00cd118357af8dc31 | |
parent | cf42d5afa0a3d60809d9c0a61158c980b7884caf [diff] |
MEDIUM: h1: Realign the ibuf before calling rcv_buf if needed. If the ibuf only contains a small amount of data, realign it before calling rcv_buf(), as it's probably going to be cheaper to do so than to do 2 calls to recv().