summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-12-05 00:44:17 +0000
committerfoobar <sniper@php.net>2001-12-05 00:44:17 +0000
commit2605bd4b302ff0c0faf091c4cdc8323a9485a0a2 (patch)
tree70a4b6d7a5fb592e90e2d8ab1c558f494c34983e
parent1d062f3f6eb1b697f5534164e7177efb6dfe60e3 (diff)
downloadphp-git-2605bd4b302ff0c0faf091c4cdc8323a9485a0a2.tar.gz
Store the read bytes so that some sapi modules know how much to read.
-rw-r--r--main/rfc1867.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index b2a2a7a895..2be19ae0cd 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -179,6 +179,7 @@ static int fill_buffer(multipart_buffer *self TSRMLS_DC)
/* update the buffer length */
if (actual_read > 0) {
self->bytes_in_buffer += actual_read;
+ SG(read_post_bytes) += actual_read;
}
}