Actions
Bug #27065
openGlobal http proxy does not work with Net::HTTP
Status:
New
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Description
In #20201 we have implemented global HTTP proxy setting with monkey patches to Net:HTTP (and others). It does not work according to my testing. Example:
Net::HTTP.start(uri.host, uri.port) do |http| http.request(...) end
The thing is that method `start` actually opens connection already which fails on networks which don't have route to the destination and method `request` will never be called as the application (or main request) errors out.
Updated by Lukas Zapletal over 5 years ago
- Related to Feature #20201: Global HTTP proxy for outgoing requests added
Actions