]> granicus.if.org Git - php/commitdiff
Store the read bytes so that some sapi modules know how much to read.
authorfoobar <sniper@php.net>
Wed, 5 Dec 2001 00:44:17 +0000 (00:44 +0000)
committerfoobar <sniper@php.net>
Wed, 5 Dec 2001 00:44:17 +0000 (00:44 +0000)
main/rfc1867.c

index b2a2a7a895e4cc2ab658062c851ba3bfbbf897fb..2be19ae0cd6c847cb8013f7b532eaef4552d610c 100644 (file)
@@ -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;
                }
        }