mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-07 06:06:08 +00:00
fixed php body read
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user