]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h1: Realign the ibuf before calling rcv_buf if needed.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 4 Dec 2018 17:16:45 +0000 (18:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Dec 2018 17:42:33 +0000 (18:42 +0100)
commit29a22bc0a7fcc25e02b1fd173c8f0095d653d501
treebec7cf14187dcfa75ca2a8c00cd118357af8dc31
parentcf42d5afa0a3d60809d9c0a61158c980b7884caf
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().
src/mux_h1.c