Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/net/http/persistent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def connection_for uri

use_ssl = uri.scheme.downcase == 'https'

net_http_args = [uri.host, uri.port]
net_http_args = [uri.hostname, uri.port]

net_http_args.concat @proxy_args if
@proxy_uri and not proxy_bypass? uri.host, uri.port
Expand Down