X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_message_body.c;h=fa9155110d776d37a0e1e26bed4ec5ef627acee6;hp=de2693c3d1721eb9f95e7d1ad9f1cc4f416d3d23;hb=27b7c648120c1f061ba7c494441347cdb891eea4;hpb=b4122a7e64600c90994ba36731af9844d2428291 diff --git a/php_http_message_body.c b/php_http_message_body.c index de2693c..fa91551 100644 --- a/php_http_message_body.c +++ b/php_http_message_body.c @@ -488,6 +488,7 @@ static size_t splitbody(void *opaque, char *buf, size_t len TSRMLS_DC) if (!first_boundary) { /* this is not the first boundary, read rest of this message */ php_http_buffer_append(&arg->buf, buf, real_boundary - buf); + php_http_message_parser_parse(arg->parser, &arg->buf, 0, &arg->parser->message); } /* move after the boundary */