X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_api.c;h=6b01a3bce7d43dda465fd49e8f98de828e76c2c1;hp=aa5b97b88c056fe94be0f11311b06d2a98d24e3e;hb=a2577d5a478ad62398cb8bafb7ad295cf9a8bdfd;hpb=11e10af01b2125c59f7a91cee615c2431a1b7196;ds=sidebyside diff --git a/http_api.c b/http_api.c index aa5b97b..6b01a3b 100644 --- a/http_api.c +++ b/http_api.c @@ -410,6 +410,7 @@ PHP_HTTP_API php_stream *_http_get_request_body_stream(TSRMLS_D) int len; while (0 < (len = sapi_module.read_post(buf, 4096 TSRMLS_CC))) { + SG(read_post_bytes) += len; php_stream_write(s, buf, len); if (len < 4096) { break;