fixed error in HTTP header skipper

This commit is contained in:
Roman Arutyunyan 2012-04-01 11:11:08 +04:00
parent 8f648495ec
commit d3c5ad1196

View file

@ -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;
}