Sync upstream updates from github.com/winshining/nginx-http-flv-module

This commit is contained in:
mxdyeah committed 2026-11-08 15:31:59 +08:00
1 parent 1be683b499
commit 20bbd5d297
16 files changed
+209 -76

No files matched your search

+6 -4
View File
@@ -282,6 +282,10 @@ ngx_rtmp_relay_push_reconnect(ngx_event_t *ev)
return;
}
if (ctx->tag != &ngx_rtmp_relay_module) {
return;
}
t = racf->pushes.elts;
for (n = 0; n < racf->pushes.nelts; ++n, ++t) {
target = *t;
@@ -614,12 +618,10 @@ ngx_rtmp_relay_create_remote_ctx(ngx_rtmp_session_t *s, ngx_str_t *name,
&url, s->connection->log) == NGX_OK)
{
target->url.default_port = 1935;
target->url.no_resolve = 1;
target->url.uri_part = 1;
target->url.url = url;
target->url.addrs = NULL;
target->url.naddrs = 0;
if(ngx_parse_url(s->connection->pool, &target->url) != NGX_OK) {
ngx_log_error(NGX_LOG_ERR, s->connection->log, 0,
"relay: invalid url='%V'", &target->url.url);
@@ -1793,7 +1795,7 @@ ngx_rtmp_relay_push_pull(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
continue;
}
return "unsuppored parameter";
return "unsupported parameter";
}
if (is_static) {