fix empty target header

This commit is contained in:
Laura Hausmann 2021-01-24 19:33:59 +01:00
parent d2d55348d6
commit cfb277dea7
Signed by: zotan
GPG Key ID: D044E84C5BE01605
1 changed files with 3 additions and 0 deletions

View File

@ -1362,6 +1362,9 @@ ngx_rtmp_notify_publish_handle(ngx_rtmp_session_t *s,
local_name.len = ngx_strlen(v->name);
len_restream = ngx_rtmp_notify_parse_http_header(s, in, &header_restream, restream, sizeof(restream) - 1);
if (len_restream <= 0) {
goto next;
}
u_char *start = restream;
u_char *next;