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/api.txt | |
parent | 2df13c73103d4bd95a5f4fec741e0ed2f17852f1 (diff) | |
download | node-new-e0ec0036ca2cee7317f63e6462b9631067cf1e38.tar.gz |
Add connection.setNoDelay() to disable Nagle algorithm.
Diffstat (limited to 'doc/api.txt')
-rw-r--r-- | doc/api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/api.txt b/doc/api.txt index 9e211cd9d0..c3525938a6 100644 --- a/doc/api.txt +++ b/doc/api.txt @@ -1081,6 +1081,10 @@ of 60 seconds (60000 ms). + If +timeout+ is 0, then the idle timeout is disabled. ++connection.setNoDelay(noDelay=true)+:: +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. === DNS |