diff options
| author | Mathew Rodley <mathew@rodley.com.au> | 2013-12-03 22:07:03 +0400 |
|---|---|---|
| committer | Mathew Rodley <mathew@rodley.com.au> | 2013-12-03 22:07:03 +0400 |
| commit | 84f5c2136ecb351ff873dcd1d70df49e25570320 (patch) | |
| tree | aaebc231eeffafdec8266913d2a4875e42126d1b /src/http/ngx_http_core_module.h | |
| parent | a8a7de3f78390a19952a4a9bb253548895850e9e (diff) | |
| download | nginx-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 'src/http/ngx_http_core_module.h')
| -rw-r--r-- | src/http/ngx_http_core_module.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 5b38000d8..220c94ee4 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -89,6 +89,9 @@ typedef struct { #if (NGX_HAVE_SETFIB) int setfib; #endif +#if (NGX_HAVE_TCP_FASTOPEN) + int fastopen; +#endif #if (NGX_HAVE_KEEPALIVE_TUNABLE) int tcp_keepidle; int tcp_keepintvl; |
