app/code/community/Nexcessnet/Turpentine/Helper/Cron.php
public function getCrawlerClient() {
        if (is_null($this->_crawlerClient)) {
            $this->_crawlerClient = new Varien_Http_Client(null, array(
                'useragent'     => sprintf(
                    'Nexcessnet_Turpentine/%s Magento/%s Varien_Http_Client',
                    Mage::helper('turpentine/data')->getVersion(),
                    Mage::getVersion() ),
                'keepalive'     => true,
            ));
            $this->_crawlerClient->setCookie('frontend', 'crawler-session');
        }
        return $this->_crawlerClient;
    }
public function getCrawlerClient() {
        if (is_null($this->_crawlerClient)) {
            $this->_crawlerClient = new Varien_Http_Client(null, array(
                'useragent'     => sprintf(
                    'Nexcessnet_Turpentine/%s Magento/%s Varien_Http_Client',
                    Mage::helper('turpentine/data')->getVersion(),
                    Mage::getVersion() ),
                'keepalive'     => true,
            ));
            $this->_crawlerClient->setCookie('frontend', 'crawler-session');
        }
        return $this->_crawlerClient;
    }
public function getCrawlerClient ( ) { if ( is_null ( $ this -> _crawlerClient ) ) { $ this -> _crawlerClient = new Varien_Http_Client ( null , array ( 'useragent' => sprintf ( 'Nexcessnet_Turpentine/%s Magento/%s Varien_Http_Client' , Mage :: helper ( 'turpentine/data' ) -> getVersion ( ) , Mage :: getVersion ( ) ) , 'keepalive' => true , ) ) ; $ this -> _crawlerClient -> setCookie ( 'frontend' , 'crawler-session' ) ; } return $ this -> _crawlerClient ; }
Get the crawler http client

@return Varien_Http_Client
Get the crawler http client