diff src/stream/ngx_stream.h @ 6169:f654addf0eea

Stream: fixed "reuseport" to actually work.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 05 Jun 2015 23:03:13 +0300
parents 4f6efabcb09b
children c13091e6292c
line wrap: on
line diff
--- 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;