]> git.kaiwu.me - haproxy.git/commit
MEDIUM: stream-int: automatically disable CF_STREAMER flags after idle
authorWilly Tarreau <w@1wt.eu>
Sun, 9 Feb 2014 16:47:01 +0000 (17:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Feb 2014 10:46:03 +0000 (11:46 +0100)
commitc5890e66cdb74662537b912d54f61ffcba57fd43
treeb4002f362ae5786f7a8c26619039aa8074bf66d3
parentb145c78623d081570b03837c54bb1f5ed9812c63
MEDIUM: stream-int: automatically disable CF_STREAMER flags after idle

Disabling the streamer flags after an idle period will help TCP proxies
to better adapt to the streams they're forwarding, especially with SSL
where this will allow the SSL sender to use smaller records. This is
typically used to optimally relay HTTP and derivatives such as SPDY or
HTTP/2 in pure TCP mode when haproxy is used as an SSL offloader.

This idea was first proposed by Ilya Grigorik on the haproxy mailing
list, and his tests seem to confirm the improvement :

  https://www.mail-archive.com/haproxy@formilux.org/msg12576.html
src/stream_interface.c