* split request and response message parsers, so the "100 Continue" response does...
[m6w6/ext-http] / php_http_env_request.c
index 3e88bd0b7cea4f8cf3631901156bcdf45e94260c..cbb7fb490ebfe338127df6cc04e4e793fd782c8d 100644 (file)
@@ -130,6 +130,7 @@ PHP_METHOD(HttpEnvRequest, __construct)
                        zval *zsg;
 
                        obj->message = php_http_message_init_env(obj->message, PHP_HTTP_REQUEST TSRMLS_CC);
+                       obj->body.handle = 0;
 
                        if ((zsg = php_http_env_get_superglobal(ZEND_STRL("_GET") TSRMLS_CC))) {
                                zval *zquery;