From d38edefc73b2f14d592b6585462a0732deb3ee1e Mon Sep 17 00:00:00 2001 From: Bart Robinson Date: Wed, 14 Sep 2016 11:10:36 -0700 Subject: [PATCH] doc: fix confusing doc of uv_tcp_nodelay MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous description implied enabling nodelay enabled Nagle, but it is the other way around. PR-URL: https://github.com/libuv/libuv/pull/1050 Reviewed-By: Saúl Ibarra Corretgé --- docs/src/tcp.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tcp.rst b/docs/src/tcp.rst index ca0c9b4a..a1a58245 100644 --- a/docs/src/tcp.rst +++ b/docs/src/tcp.rst @@ -53,7 +53,7 @@ API .. c:function:: int uv_tcp_nodelay(uv_tcp_t* handle, int enable) - Enable / disable Nagle's algorithm. + Enable `TCP_NODELAY`, which disables Nagle's algorithm. .. c:function:: int uv_tcp_keepalive(uv_tcp_t* handle, int enable, unsigned int delay)