diff --git a/info_uwsgi.php b/info_uwsgi.php index 408eda60..4158d3c2 100644 --- a/info_uwsgi.php +++ b/info_uwsgi.php @@ -15,10 +15,11 @@ rpc result:
+cache value:
diff --git a/plugins/php/php_plugin.c b/plugins/php/php_plugin.c index c7de4415..106b68ac 100644 --- a/plugins/php/php_plugin.c +++ b/plugins/php/php_plugin.c @@ -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; }