Project

General

Profile

Actions

Bug #14345

closed

http_proxy setting should respect both parent domain and subdomain

Added by harsimranmaan (Harsimran Singh Maan) about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:84789]

Description

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.

https://github.com/ruby/ruby/pull/1748 addresses this issues.

Also note that other programming language like go respect different proxy settings for parent domain and its subdomains. https://github.com/golang/go/blob/master/src/net/http/proxy_test.go#L37

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0