Setting ‘connect_timeout’ in http_request_args?
-
It seems that it is not possible to set ‘connect_timeout’ in http_request_args? Can anyone educate me if ‘timeout’ overrides the ‘connect_timeout’?
I am filtering a plugin that makes blocking requests with a timeout of 60 seconds. I am setting the timeout to 1 second to avoid the plugin blocking page rendering. But in situations where the plugins struggles to even connect, am I then locked to the 10 second default of Requests::request?
Because I can’t see any place to set ‘connect_timeout’?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Setting ‘connect_timeout’ in http_request_args?’ is closed to new replies.