protected function defaultCurlOptions()
    {
        $result = parent::defaultCurlOptions();
        $result[CURLOPT_NOSIGNAL] = 1;
        if ($this->speed == self::SPEED_LONG || $this->big) {
            $result[CURLOPT_CONNECTTIMEOUT_MS] = 60000;
            $result[CURLOPT_TIMEOUT_MS] = 60000;
            $this->big = false;
        } else {
            $result[CURLOPT_CONNECTTIMEOUT_MS] = 500;
            $result[CURLOPT_TIMEOUT_MS] = 500;
        }
        return $result;
    }
protected function defaultCurlOptions()
    {
        $result = parent::defaultCurlOptions();
        $result[CURLOPT_NOSIGNAL] = 1;
        if ($this->speed == self::SPEED_LONG || $this->big) {
            $result[CURLOPT_CONNECTTIMEOUT_MS] = 60000;
            $result[CURLOPT_TIMEOUT_MS] = 60000;
            $this->big = false;
        } else {
            $result[CURLOPT_CONNECTTIMEOUT_MS] = 500;
            $result[CURLOPT_TIMEOUT_MS] = 500;
        }
        return $result;
    }
protected function defaultCurlOptions ( ) { $ result = parent :: defaultCurlOptions ( ) ; $ result [ CURLOPT_NOSIGNAL ] = 1 ; if ( $ this -> speed == self :: SPEED_LONG || $ this -> big ) { $ result [ CURLOPT_CONNECTTIMEOUT_MS ] = 60000 ; $ result [ CURLOPT_TIMEOUT_MS ] = 60000 ; $ this -> big = false ; } else { $ result [ CURLOPT_CONNECTTIMEOUT_MS ] = 500 ; $ result [ CURLOPT_TIMEOUT_MS ] = 500 ; } return $ result ; }
Returns default cURL options.
@return array cURL options.
Returns default cURL options .