socket: add support for TCP fast Open

TCP Fast Open (TFO) speeds up the opening of successiveTCP)
connections between two endpoints.It works by using a TFO cookie
in the initial SYN packet to authenticate a previously connected
client. It starts sending data to the client before the receipt
of the final ACK packet of the three way handshake is received,
skipping a round trip and lowering the latency in the start of
transmission of data.
This commit is contained in:
Susant Sahani
2014-08-14 13:14:39 +02:00
committed by Lennart Poettering
parent 41488fe902
commit 9528592ff8
5 changed files with 26 additions and 0 deletions
+15
View File
@@ -498,6 +498,21 @@
<option>false</option>.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>FastOpen=</varname></term>
<listitem><para>Takes a boolean
argument. It works by using a TFO cookie (a TCP option) in the initial
SYN packet to authenticate a previously connected client. If successful,
it may start sending data to the client before the receipt of the final
ACK packet of the three way handshake is received, skipping a round trip
and lowering the latency in the start of transmission of data.
This controls the TCP_FASTOPEN socket option (see
the <ulink url="http://lwn.net/Articles/508865/">TCP
Fast Open: expediting web services</ulink> for details.)
Defaults to
<option>false</option>.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>Priority=</varname></term>
<listitem><para>Takes an integer