fixed php body read

This commit is contained in:
Unbit
2013-03-08 20:23:09 +01:00
parent e29c50c9a5
commit fba0d196ff
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -121,6 +121,7 @@ static int sapi_uwsgi_read_post(char *buffer, uint count_bytes TSRMLS_DC)
char *buf = uwsgi_request_body_read(wsgi_req, count_bytes - read_bytes, &rlen);
if (buf == uwsgi.empty) break;
if (buf) {
memcpy(buffer, buf, rlen);
read_bytes += rlen;
continue;
}