Skip to content

Commit 6f9fa49

Browse files
committed
Added propagation of the "wildcard" flag to c->listening.
The change repeats nginx commit cb149fa03367 and is needed for stream pass module to be able to pass connections to rtmp.
1 parent c56fd73 commit 6f9fa49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ngx_rtmp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,8 @@ ngx_rtmp_optimize_servers(ngx_conf_t *cf, ngx_array_t *ports)
645645
ls->ipv6only = addr[i].ipv6only;
646646
#endif
647647

648+
ls->wildcard = addr[i].wildcard;
649+
648650
mport = ngx_palloc(cf->pool, sizeof(ngx_rtmp_port_t));
649651
if (mport == NULL) {
650652
return NGX_CONF_ERROR;

0 commit comments

Comments
 (0)