diff options
author | Kim Alvefur <zash@zash.se> | 2022-07-27 08:40:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 09:40:18 +0300 |
commit | d1ad8160cba9e504c9d17665492044a93efdc3ab (patch) | |
tree | f1fdc54ab108383324765104d08c35d09764839a /docs/tcp.html | |
parent | 0c7df119c2b71bed814db7b3da8fc379131433fe (diff) | |
download | luasocket-d1ad8160cba9e504c9d17665492044a93efdc3ab.tar.gz luasocket-d1ad8160cba9e504c9d17665492044a93efdc3ab.tar.bz2 luasocket-d1ad8160cba9e504c9d17665492044a93efdc3ab.zip |
feat(tcp): Add support for TCP Defer Accept
This makes it so that a listening socket does not become readable for
accept() until a connection has been fully established *and* started
sending something, thus the program doesn't have to wait for the first
data. This only makes sense for client-speaks-first protocols.
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
Diffstat (limited to 'docs/tcp.html')
-rw-r--r-- | docs/tcp.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/tcp.html b/docs/tcp.html index f15196c..a26228d 100644 --- a/docs/tcp.html +++ b/docs/tcp.html | |||
@@ -485,6 +485,8 @@ disables the Nagle's algorithm for the connection;</li> | |||
485 | 485 | ||
486 | <li> '<tt>tcp-keepintvl</tt>': value for <tt>TCP_KEEPINTVL</tt> Linux only!!</li> | 486 | <li> '<tt>tcp-keepintvl</tt>': value for <tt>TCP_KEEPINTVL</tt> Linux only!!</li> |
487 | 487 | ||
488 | <li> '<tt>tcp-defer-accept</tt>': value for <tt>TCP_DEFER_ACCEPT</tt> Linux only!!</li> | ||
489 | |||
488 | <li> '<tt>tcp-fastopen</tt>': value for <tt>TCP_FASTOPEN</tt> Linux only!!</li> | 490 | <li> '<tt>tcp-fastopen</tt>': value for <tt>TCP_FASTOPEN</tt> Linux only!!</li> |
489 | 491 | ||
490 | <li> '<tt>tcp-fastopen-connect</tt>': value for <tt>TCP_FASTOPEN_CONNECT</tt> Linux only!!</li> | 492 | <li> '<tt>tcp-fastopen-connect</tt>': value for <tt>TCP_FASTOPEN_CONNECT</tt> Linux only!!</li> |