summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2012-05-13 09:14:58 +0000
committerrobert <robert@openbsd.org>2012-05-13 09:14:58 +0000
commit97af15d31a3e788ae1f3063c72204f69e2e38dde (patch)
tree40613faa9ab41a3bffd46e7d418c97f022706db8 /usr.sbin/nginx/src/core/ngx_connection.h
parentRemove unused and confusing 'head' argument. (diff)
downloadwireguard-openbsd-97af15d31a3e788ae1f3063c72204f69e2e38dde.tar.xz
wireguard-openbsd-97af15d31a3e788ae1f3063c72204f69e2e38dde.zip
update to nginx-1.2.0
Diffstat (limited to 'usr.sbin/nginx/src/core/ngx_connection.h')
-rw-r--r--usr.sbin/nginx/src/core/ngx_connection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/nginx/src/core/ngx_connection.h b/usr.sbin/nginx/src/core/ngx_connection.h
index 928d661c0a5..34af12e4f34 100644
--- a/usr.sbin/nginx/src/core/ngx_connection.h
+++ b/usr.sbin/nginx/src/core/ngx_connection.h
@@ -28,6 +28,11 @@ struct ngx_listening_s {
int backlog;
int rcvbuf;
int sndbuf;
+#if (NGX_HAVE_KEEPALIVE_TUNABLE)
+ int keepidle;
+ int keepintvl;
+ int keepcnt;
+#endif
/* handler of accepted connection */
ngx_connection_handler_pt handler;
@@ -61,6 +66,7 @@ struct ngx_listening_s {
#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
unsigned ipv6only:2;
#endif
+ unsigned keepalive:2;
#if (NGX_HAVE_DEFERRED_ACCEPT)
unsigned deferred_accept:1;