-
Notifications
You must be signed in to change notification settings - Fork 37
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
default connectTimeout question #37
Comments
Because REST in Pawn does not have a way to cancel a request once it has started, I think 10 seconds is more than reasonable to wait for the connection, especially since you can change it if needed. I'll make sure these default values are documented. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Why default
connectTimeout
= 10 when libCurl describes this value as 300?Set to zero to switch to the default built-in connection timeout - 300 seconds.
https://curl.se/libcurl/c/CURLOPT_CONNECTTIMEOUT.html
And also this incident is not reflected in the documentation
https://github.com/ErikMinekus/sm-ripext/blob/master/pawn/scripting/include/ripext/http.inc#L173-L177
The text was updated successfully, but these errors were encountered: