- use &EG(symbol_table)'s HTTP_SERVER_VARS instead of
[m6w6/ext-http] / http_response_object.c
index f4528f828252390421b0d64f83ba2cf1a9079c4d..c9e71a9aa68a32001fd985304c618c6beacd289e 100644 (file)
@@ -780,7 +780,7 @@ PHP_METHOD(HttpResponse, send)
        if (Z_LVAL_P(GET_STATIC_PROP(gzip))) {
                php_start_ob_buffer_named("ob_gzhandler", 0, 1 TSRMLS_CC);
        } else {
-               php_start_ob_buffer(NULL, 0, 0 TSRMLS_CC);
+               php_start_ob_buffer(NULL, 0, 1 TSRMLS_CC);
        }
 
        /* caching */