1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-13 03:45:22 +01:00

[Http] Fixing cURL version check when checking for cURL options that can pollute a handle

This commit is contained in:
Michael Dowling 2011-03-27 20:05:12 -05:00
parent 4c7bc0b702
commit 435f9d5964

View File

@ -368,7 +368,7 @@ class CurlHandle
);
// CURLOPT_TIMEOUT_MS was added in v7.16.2
if (Guzzle::getCurlInfo('version') > '7.16.2') {
if (Guzzle::getCurlInfo('version_number') > 464386) {
self::$pollute[] = \CURLOPT_TIMEOUT_MS;
}
}