Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
5455:8f2c69418045 | 5456:692afcea9d0d |
---|---|
86 int backlog; | 86 int backlog; |
87 int rcvbuf; | 87 int rcvbuf; |
88 int sndbuf; | 88 int sndbuf; |
89 #if (NGX_HAVE_SETFIB) | 89 #if (NGX_HAVE_SETFIB) |
90 int setfib; | 90 int setfib; |
91 #endif | |
92 #if (NGX_HAVE_TCP_FASTOPEN) | |
93 int fastopen; | |
91 #endif | 94 #endif |
92 #if (NGX_HAVE_KEEPALIVE_TUNABLE) | 95 #if (NGX_HAVE_KEEPALIVE_TUNABLE) |
93 int tcp_keepidle; | 96 int tcp_keepidle; |
94 int tcp_keepintvl; | 97 int tcp_keepintvl; |
95 int tcp_keepcnt; | 98 int tcp_keepcnt; |