X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;h=5eca48a6650576054b7b8a844e1da6a89b8c7bf2;hp=d03ee85c2c17bae53da40b24e2edb9055f1be025;hb=2334ad58dd0d288f1ef49ab3d449376763df4fba;hpb=afd561b680a07837192efbdb9ffe248def36f8e9 diff --git a/http_cache_api.c b/http_cache_api.c index d03ee85..5eca48a 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -215,7 +215,7 @@ PHP_HTTP_API STATUS _http_cache_etag(const char *etag, size_t etag_len, return SUCCESS; } - if (HTTP_G(etag).started = (SUCCESS == php_start_ob_buffer_named("ob_etaghandler", HTTP_SENDBUF_SIZE, 1 TSRMLS_CC))) { + if (HTTP_G(etag).started = (SUCCESS == php_start_ob_buffer_named("ob_etaghandler", HTTP_G(send).buffer_size, 1 TSRMLS_CC))) { return SUCCESS; } else { return FAILURE;