comparison src/http/ngx_http.c @ 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 fbaae7d1c033
children 01e2a5bcdd8f
comparison
equal deleted inserted replaced
5455:8f2c69418045 5456:692afcea9d0d
1809 1809
1810 #if (NGX_HAVE_SETFIB) 1810 #if (NGX_HAVE_SETFIB)
1811 ls->setfib = addr->opt.setfib; 1811 ls->setfib = addr->opt.setfib;
1812 #endif 1812 #endif
1813 1813
1814 #if (NGX_HAVE_TCP_FASTOPEN)
1815 ls->fastopen = addr->opt.fastopen;
1816 #endif
1817
1814 return ls; 1818 return ls;
1815 } 1819 }
1816 1820
1817 1821
1818 static ngx_int_t 1822 static ngx_int_t