X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;h=5eca48a6650576054b7b8a844e1da6a89b8c7bf2;hp=d03ee85c2c17bae53da40b24e2edb9055f1be025;hb=3c938b3b63e3063931e49d80a3e11fdcf6ce1769;hpb=31d0ecaa361b6a186391f48d566e9b1de36b1099 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;