X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_pool_api.c;h=a9cd4ede33fbc357deadbefd837308274ac20dbc;hp=610412ac24f28e4477f40c70aef8e7d96cd99b63;hb=48981407809f0404e0427637f8474c9ccc2eafa4;hpb=208e6a34f0d48978279a2e80d336e19dca936486 diff --git a/http_request_pool_api.c b/http_request_pool_api.c index 610412a..a9cd4ed 100644 --- a/http_request_pool_api.c +++ b/http_request_pool_api.c @@ -108,7 +108,7 @@ PHP_HTTP_API STATUS _http_request_pool_detach(http_request_pool *pool, zval *req { getObjectEx(http_request_object, req, request); #if HTTP_DEBUG_REQPOOLS - fprintf(stderr, "Detaching request %p (pool: %p) from pool %p\n", req, req->pool, pool); + fprintf(stderr, "Detaching request %p from pool %p\n", req, pool); #endif if (req->pool != pool) { http_error(E_WARNING, HTTP_E_CURL, "HttpRequest object is not attached to this HttpRequestPool"); @@ -159,7 +159,7 @@ PHP_HTTP_API void _http_request_pool_detach_all(http_request_pool *pool TSRMLS_D PHP_HTTP_API STATUS _http_request_pool_send(http_request_pool *pool TSRMLS_DC) { #if HTTP_DEBUG_REQPOOLS - fprintf(stderr, "Attempt to send requests of pool %p\n", pool); + fprintf(stderr, "Attempt to send %d requests of pool %p\n", zend_llist_count(&pool->handles), pool); #endif while (http_request_pool_perform(pool)) { #if HTTP_DEBUG_REQPOOLS