Destroys a cURL connection pool

namespace HH;

function curl_destroy_pool(
  string $poolName,
): bool;

curl_init_pooled() calls that are already waiting on a handle will still complete, but no new calls will receive a pooled handle.


  • string $poolName - The name of the connection pool to destroy.

Return Values

  • bool - - Returns true on success, or false if the pool does not exist.