Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
PHP 7.*
Description
Presently, if you specify a fractional timeout (e.g. 0.2) with setTimeoutSecs(), it is ignored and the request is allowed to take an arbitrary amount of time.
Specifying integer timeouts works as expected (e.g. 1, 2, or more seconds).
This happens because this line uses CURLOPT_TIMEOUT instead of CURLOPT_TIMEOUT_MS.
I have a patch I'll submit after creating this ticket.
Attachments
Issue Links
- links to