diff options
author | Susant Sahani <susant@redhat.com> | 2014-08-14 14:31:47 +0530 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-14 13:14:39 +0200 |
commit | 9528592ff8d7ff361da430285deba8196e8984d5 (patch) | |
tree | 1cbe201fbd1c66e6a8c65ddedc8f7d9b96161c72 /src/core/socket.h | |
parent | 41488fe9024a8955d19811620fd55dcc56a5b2ba (diff) |
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.
Diffstat (limited to 'src/core/socket.h')
-rw-r--r-- | src/core/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index 98396e7320..6c0084c477 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -135,6 +135,7 @@ struct Socket { /* Socket options */ bool keep_alive; bool no_delay; + bool fast_open; bool free_bind; bool transparent; bool broadcast; |