mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Use request heap.
This commit is contained in:
parent
c16f954ff1
commit
687123ebf2
@ -517,7 +517,7 @@ PHPAPI php_output_handler *php_output_handler_create_user(zval *output_handler,
|
||||
PHPAPI php_output_handler *php_output_handler_create_internal(const char *name, size_t name_len, php_output_handler_context_func_t output_handler, size_t chunk_size, int flags)
|
||||
{
|
||||
php_output_handler *handler;
|
||||
zend_string *str = zend_string_init(name, name_len, 1);
|
||||
zend_string *str = zend_string_init(name, name_len, 0);
|
||||
|
||||
handler = php_output_handler_init(str, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_INTERNAL);
|
||||
handler->func.internal = output_handler;
|
||||
|
Loading…
Reference in New Issue
Block a user