From 26d6107307e037f376c1907f38590f9edc3fdd4a Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Tue, 26 Jul 2016 14:57:22 +0200 Subject: [PATCH] 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. --- ngx_rtmp_core_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_core_module.c b/ngx_rtmp_core_module.c index c03183e..002d1f3 100644 --- a/ngx_rtmp_core_module.c +++ b/ngx_rtmp_core_module.c @@ -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,