mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-01 22:29:32 +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) {
|
while (b->pos == b->last) {
|
||||||
in = in->next;
|
in = in->next;
|
||||||
if (in == NULL) {
|
if (in == NULL) {
|
||||||
break;
|
return NULL;
|
||||||
}
|
}
|
||||||
b = in->buf;
|
b = in->buf;
|
||||||
}
|
}
|
||||||
|
@ -555,8 +555,6 @@ ngx_rtmp_netcall_http_skip_header(ngx_chain_t *in)
|
||||||
state = normal;
|
state = normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue