diff --git a/src/Pusher.php b/src/Pusher.php index c6219caa..600ba3a0 100755 --- a/src/Pusher.php +++ b/src/Pusher.php @@ -253,7 +253,7 @@ private function create_curl($domain, $s_url, $request_method = 'GET', $query_pa $this->log('INFO: create_curl( '.$full_url.' )'); // Create or reuse existing curl handle - if (null === $this->ch) { + if (!is_resource($this->ch)) { $this->ch = curl_init(); }