mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-18 09:11:08 +02:00
fixed error in HTTP header skipper
This commit is contained in:
parent
8f648495ec
commit
d3c5ad1196
|
@ -534,7 +534,7 @@ ngx_rtmp_netcall_http_skip_header(ngx_chain_t *in)
|
|||
while (b->pos == b->last) {
|
||||
in = in->next;
|
||||
if (in == NULL) {
|
||||
break;
|
||||
return NULL;
|
||||
}
|
||||
b = in->buf;
|
||||
}
|
||||
|
@ -555,8 +555,6 @@ ngx_rtmp_netcall_http_skip_header(ngx_chain_t *in)
|
|||
state = normal;
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue