]> git.ipfire.org Git - thirdparty/curl.git/commit - src/tool_cfgable.c
CURLOPT_TCP_NODELAY: now enabled by default
authorDaniel Stenberg <daniel@haxx.se>
Thu, 30 Jun 2016 12:56:02 +0000 (14:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Aug 2016 22:12:57 +0000 (00:12 +0200)
commit4732ca5724072f132876f520c8f02c7c5b654d95
treeff3f154c9dd3e651193c8bb3585fabf277573a03
parentedeabf741fed90aecb39bb38dc0eeb68d6e305eb
CURLOPT_TCP_NODELAY: now enabled by default

After a few wasted hours hunting down the reason for slowness during a
TLS handshake that turned out to be because of TCP_NODELAY not being
set, I think we have enough motivation to toggle the default for this
option. We now enable TCP_NODELAY by default and allow applications to
switch it off.

This also makes --tcp-nodelay unnecessary, but --no-tcp-nodelay can be
used to disable it.

Thanks-to: Tim Rühsen
Bug: https://curl.haxx.se/mail/lib-2016-06/0143.html
docs/libcurl/opts/CURLOPT_TCP_NODELAY.3
lib/http2.c
lib/url.c
src/tool_cfgable.c
src/tool_operate.c
src/tool_setopt.c