aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-06-05 23:03:13 +0300
committerRuslan Ermilov <ru@nginx.com>2015-06-05 23:03:13 +0300
commit14ddadb9acd8d2c0872d83de6f1c98ab5ed98613 (patch)
tree269dd2fc62ad41a3f1203e58574e7bd88aa6518e /src/stream/ngx_stream.h
parent413158330abf082d1c0b48b264090f3bf4e4305e (diff)
downloadnginx-14ddadb9acd8d2c0872d83de6f1c98ab5ed98613.tar.gz
nginx-14ddadb9acd8d2c0872d83de6f1c98ab5ed98613.zip
Stream: fixed "reuseport" to actually work.
Diffstat (limited to 'src/stream/ngx_stream.h')
-rw-r--r--src/stream/ngx_stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h
index a10f68fff..116c0cc54 100644
--- a/src/stream/ngx_stream.h
+++ b/src/stream/ngx_stream.h
@@ -109,6 +109,9 @@ typedef struct {
#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
unsigned ipv6only:1;
#endif
+#if (NGX_HAVE_REUSEPORT)
+ unsigned reuseport:1;
+#endif
unsigned so_keepalive:2;
#if (NGX_HAVE_KEEPALIVE_TUNABLE)
int tcp_keepidle;