summaryrefslogtreecommitdiff
path: root/doc/api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api.txt')
-rw-r--r--doc/api.txt4
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