#include "php_http_api.h"
-#include <ext/spl/spl_iterators.h>
-
PHP_HTTP_API php_http_request_pool_t *php_http_request_pool_init(php_http_request_pool_t *h, php_http_request_pool_ops_t *ops, php_http_resource_factory_t *rf, void *init_arg TSRMLS_DC)
{
php_http_request_pool_t *free_h = NULL;
zend_llist_clean(&h->requests.finished);
zend_llist_clean(&h->requests.attached);
- if (h->persistent_handle_id) {
- zval_ptr_dtor(&h->persistent_handle_id);
- }
-
php_http_resource_factory_free(&h->rf);
}