Mercurial > hg > nginx
comparison auto/unix @ 5456:692afcea9d0d
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(+)
author | Mathew Rodley <mathew@rodley.com.au> |
---|---|
date | Tue, 03 Dec 2013 22:07:03 +0400 |
parents | a15abc456bb5 |
children | 31dd63dcb9ea 51d4fde64bca |
comparison
equal
deleted
inserted
replaced
5455:8f2c69418045 | 5456:692afcea9d0d |
---|---|
339 ngx_feature_path= | 339 ngx_feature_path= |
340 ngx_feature_libs= | 340 ngx_feature_libs= |
341 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0); | 341 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0); |
342 setsockopt(0, IPPROTO_TCP, TCP_KEEPINTVL, NULL, 0); | 342 setsockopt(0, IPPROTO_TCP, TCP_KEEPINTVL, NULL, 0); |
343 setsockopt(0, IPPROTO_TCP, TCP_KEEPCNT, NULL, 0)" | 343 setsockopt(0, IPPROTO_TCP, TCP_KEEPCNT, NULL, 0)" |
344 . auto/feature | |
345 | |
346 | |
347 ngx_feature="TCP_FASTOPEN" | |
348 ngx_feature_name="NGX_HAVE_TCP_FASTOPEN" | |
349 ngx_feature_run=no | |
350 ngx_feature_incs="#include <sys/socket.h> | |
351 #include <netinet/in.h> | |
352 #include <netinet/tcp.h>" | |
353 ngx_feature_path= | |
354 ngx_feature_libs= | |
355 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_FASTOPEN, NULL, 0)" | |
344 . auto/feature | 356 . auto/feature |
345 | 357 |
346 | 358 |
347 ngx_feature="TCP_INFO" | 359 ngx_feature="TCP_INFO" |
348 ngx_feature_name="NGX_HAVE_TCP_INFO" | 360 ngx_feature_name="NGX_HAVE_TCP_INFO" |