diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2024-03-22 14:53:19 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2024-03-22 14:53:19 +0400 |
commit | bd190d825ceeacf105a2392d88734f21df35d89a (patch) | |
tree | 730fc775cbc1730fbbfe35cf632ff76ca7981b9d /src/stream/ngx_stream.c | |
parent | 04b9bfe55d414bfed8a7aefa3162d81af26532b4 (diff) | |
download | nginx-bd190d825ceeacf105a2392d88734f21df35d89a.tar.gz nginx-bd190d825ceeacf105a2392d88734f21df35d89a.zip |
Stream: the "setfib" parameter of the "listen" directive.
The FreeBSD SO_SETFIB support.
Diffstat (limited to 'src/stream/ngx_stream.c')
-rw-r--r-- | src/stream/ngx_stream.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stream/ngx_stream.c b/src/stream/ngx_stream.c index e0879d092..b6eeb23af 100644 --- a/src/stream/ngx_stream.c +++ b/src/stream/ngx_stream.c @@ -1033,6 +1033,10 @@ ngx_stream_add_listening(ngx_conf_t *cf, ngx_stream_conf_addr_t *addr) ls->ipv6only = addr->opt.ipv6only; #endif +#if (NGX_HAVE_SETFIB) + ls->setfib = addr->opt.setfib; +#endif + #if (NGX_HAVE_TCP_FASTOPEN) ls->fastopen = addr->opt.fastopen; #endif |