summaryrefslogtreecommitdiffhomepage
path: root/auto/unix
diff options
context:
space:
mode:
authorMathew Rodley <mathew@rodley.com.au>2013-12-03 22:07:03 +0400
committerMathew Rodley <mathew@rodley.com.au>2013-12-03 22:07:03 +0400
commit84f5c2136ecb351ff873dcd1d70df49e25570320 (patch)
treeaaebc231eeffafdec8266913d2a4875e42126d1b /auto/unix
parenta8a7de3f78390a19952a4a9bb253548895850e9e (diff)
downloadnginx-84f5c2136ecb351ff873dcd1d70df49e25570320.tar.gz
nginx-84f5c2136ecb351ff873dcd1d70df49e25570320.tar.bz2
Added support for TCP_FASTOPEN supported in Linux >= 3.7.1.
--- auto/unix | 12 ++++++++++++ src/core/ngx_connection.c | 32 ++++++++++++++++++++++++++++++++ src/core/ngx_connection.h | 4 ++++ src/http/ngx_http.c | 4 ++++ src/http/ngx_http_core_module.c | 21 +++++++++++++++++++++ src/http/ngx_http_core_module.h | 3 +++ 6 files changed, 76 insertions(+)
Diffstat (limited to 'auto/unix')
-rwxr-xr-xauto/unix12
1 files changed, 12 insertions, 0 deletions
diff --git a/auto/unix b/auto/unix
index 4dbdbe0c0..10fd3d293 100755
--- a/auto/unix
+++ b/auto/unix
@@ -344,6 +344,18 @@ ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0);
. auto/feature
+ngx_feature="TCP_FASTOPEN"
+ngx_feature_name="NGX_HAVE_TCP_FASTOPEN"
+ngx_feature_run=no
+ngx_feature_incs="#include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_FASTOPEN, NULL, 0)"
+. auto/feature
+
+
ngx_feature="TCP_INFO"
ngx_feature_name="NGX_HAVE_TCP_INFO"
ngx_feature_run=no