Subversion Repositories cheapmusic

Rev

Rev 156 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 158
Line 1400... Line 1400...
1400
            curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
1400
            curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
1401
        }
1401
        }
1402
 
1402
 
1403
        if (defined('CURL_HTTP_VERSION_2_0')) {
1403
        if (defined('CURL_HTTP_VERSION_2_0')) {
1404
            curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
1404
            curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
-
 
1405
            curl_setopt($ch, CURLMOPT_PIPELINING, 3);
1405
        }
1406
        }
1406
        curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
1407
        curl_setopt($ch, CURLOPT_ENCODING, "gzip,deflate");
1407
        curl_setopt($ch, CURLOPT_AUTOREFERER, true);
1408
        curl_setopt($ch, CURLOPT_AUTOREFERER, true);
1408
        curl_setopt($ch, CURLOPT_HEADER, 0);
1409
        curl_setopt($ch, CURLOPT_HEADER, 0);
1409
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
1410
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);