fixed a regression with http pipelined requests

This commit is contained in:
roberto@precise64
2012-05-14 18:52:27 +02:00
parent 26b7e6aabf
commit aebda4aced
+5
View File
@@ -607,6 +607,11 @@ void uwsgi_http_switch_events(struct uwsgi_corerouter *ucr, struct corerouter_se
break;
}
// avoid pipelined input
if (hs->received_body >= cs->post_cl) {
break;
}
if (len + hs->received_body > cs->post_cl) {
len = cs->post_cl - hs->received_body;