Allow more than one option to 'listen'

Without this patch, you wouldn't be able to specify e.g.
both so_keepalive and ipv6only, in conflict with the docs.
This commit is contained in:
Jan Alexander Steffens (heftig) 2016-07-26 14:57:22 +02:00
parent e38fcac9c9
commit 26d6107307

View file

@ -45,7 +45,7 @@ static ngx_command_t ngx_rtmp_core_commands[] = {
NULL },
{ ngx_string("listen"),
NGX_RTMP_SRV_CONF|NGX_CONF_TAKE12,
NGX_RTMP_SRV_CONF|NGX_CONF_1MORE,
ngx_rtmp_core_listen,
NGX_RTMP_SRV_CONF_OFFSET,
0,