[PATCH 0 of 1] Added support for TCP_FASTOPEN supported in Linux >= 3.7.1

Mathew Rodley mathew at rodley.com.au
Sun Dec 1 20:28:58 UTC 2013

Hi all,

I was playing around with TCP FastOpen (an experimental TCP extension supported for clients in Linux >=3.6 and for servers in Linux >=3.7.1) that reduces the initial TCP 3-way handshake latency cost.

I noticed a couple of other projects (HAProxy in particular) have support for it, and it may be useful to some people to reduce latency within their stack or experiment with it for broader deployment. It's a pretty small and non invasive change too, so following this is a patch that optionally enables it on a listener if you specify fastopen=<pending TFO limit> e.g.

>> listen 443 ssl fastopen=5;

See: http://lwn.net/Articles/508865/

More information about the nginx-devel mailing list