Mercurial > hg > nginx
diff src/http/ngx_http_core_module.h @ 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 | c0f7b94e88ba |
children | 3a72b1805c52 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.h Tue Dec 03 21:44:08 2013 +0400 +++ b/src/http/ngx_http_core_module.h Tue Dec 03 22:07:03 2013 +0400 @@ -89,6 +89,9 @@ #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;