-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
total_time is lower than CURLOPT_TIMEOUT when request timed out #538
Comments
It'd be interesting if you'd add the following on the first case: |
Here is the request:
and the result:
...and sorry for accidentaly close and reopen the issue! |
Thanks. I've been able to repeat this myself now. |
This seems to do the trick. I'll just verify some more before I push:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using request with CURLOPT_TIMEOUT = 1.
Then request is timed out and total_time is set to 0.204s as showed at output 1.
Without using CURLOPT_TIMEOUT, total_time is set properly as showed at output 2.
Version cURL used: 7.45.0
output 1
output 2
The text was updated successfully, but these errors were encountered: