mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-04-28 10:43:45 +02:00
fix empty target header
This commit is contained in:
parent
8aa8f06cb5
commit
4384e26a79
|
@ -1362,6 +1362,9 @@ ngx_rtmp_notify_publish_handle(ngx_rtmp_session_t *s,
|
||||||
local_name.len = ngx_strlen(v->name);
|
local_name.len = ngx_strlen(v->name);
|
||||||
|
|
||||||
len_restream = ngx_rtmp_notify_parse_http_header(s, in, &header_restream, restream, sizeof(restream) - 1);
|
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 *start = restream;
|
||||||
u_char *next;
|
u_char *next;
|
||||||
|
|
Loading…
Reference in a new issue