diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-09-23 15:35:03 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-09-23 15:36:34 +0200 |
commit | e0ec0036ca2cee7317f63e6462b9631067cf1e38 (patch) | |
tree | fb5f28ee7de7b0b796ecd5d28b18282d63ddf2f6 /doc/node.1 | |
parent | 2df13c73103d4bd95a5f4fec741e0ed2f17852f1 (diff) | |
download | node-new-e0ec0036ca2cee7317f63e6462b9631067cf1e38.tar.gz |
Add connection.setNoDelay() to disable Nagle algorithm.
Diffstat (limited to 'doc/node.1')
-rw-r--r-- | doc/node.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/node.1 b/doc/node.1 index 368230a923..f04a2e68a1 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -1,11 +1,11 @@ .\" Title: node .\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> -.\" Date: 09/21/2009 +.\" Date: 09/23/2009 .\" Manual: .\" Source: .\" -.TH "NODE" "1" "09/21/2009" "" "" +.TH "NODE" "1" "09/23/2009" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -1639,6 +1639,15 @@ If timeout is 0, then the idle timeout is disabled\. .RE +.PP +connection\.setNoDelay(noDelay=true) +.RS 4 +Disables the Nagle algorithm\. By default TCP connections use the Nagle algorithm, they buffer data before sending it off\. Setting +noDelay +will immediately fire off data each time +connection\.send() +is called\. +.RE .RE .SS "DNS" Here is an example of which resolves "www\.google\.com" then reverse resolves the IP addresses which are returned\. |