From 541f690f49e4cf5da377590b6661c5451a1fd666 Mon Sep 17 00:00:00 2001 From: winshining Date: Thu, 9 Oct 2025 07:05:54 +0800 Subject: [PATCH] [fix] fixed bug introduced in the last commit. --- ngx_rtmp_relay_module.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ngx_rtmp_relay_module.c b/ngx_rtmp_relay_module.c index af03741..e7beb6f 100644 --- a/ngx_rtmp_relay_module.c +++ b/ngx_rtmp_relay_module.c @@ -618,9 +618,6 @@ ngx_rtmp_relay_create_remote_ctx(ngx_rtmp_session_t *s, ngx_str_t *name, 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);