Bug #14345


http_proxy setting should respect both parent domain and subdomain

Added by harsimranmaan (Harsimran Singh Maan) over 4 years ago. Updated about 4 years ago.

Target version:


When a ruby app is run in an environment where an http proxy is configured, it is not possible to provide separate settings for both a domain and it's subdomain for outbound http calls. This coupling assumes that both should follow the same http_proxy settings but in practice, this is a common occurrence the parent domain and the subdomains are be hosted on different network. addresses this issues.

Also note that other programming language like go respect different proxy settings for parent domain and its subdomains.

Updated by shevegen (Robert A. Heiler) about 4 years ago

I think this will be discussed at the next ruby developer meeting
in April 2018 so stay tuned for updates to it (less than a month
to go for the next developer meeting).

See here:

Actions #3

Updated by naruse (Yui NARUSE) about 4 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r63452.

http_proxy setting should respect both parent domain and subdomain

URI::Generic: Respect no_proxy for both parent domain and
subdomains It is now possible to add just the subdomains for proxy bypass. In
a setting where the main domain needs to go through proxy while the
subdomains don't, it is now possible to just add the subdomains to the
no_proxy list.
The assumption that subdomains and the parent domain should
behave the same wrt no_proxy has been removed.

eg: Adding in no_proxy would allow
to go through the proxy.

From: Harsimran Singh Maan
[Bug #14345]


Also available in: Atom PDF