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:
parent
4c7bc0b702
commit
435f9d5964
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user