Skip to content

Commit

Permalink
fix: error with no-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tumf committed Feb 6, 2014
1 parent 2953e7b commit b9031bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/net/http/persistent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -863,10 +863,10 @@ def proxy= proxy

@no_proxy.clear

@proxy_uri.user = unescape @proxy_uri.user
@proxy_uri.password = unescape @proxy_uri.password

if @proxy_uri then
@proxy_uri.user = unescape @proxy_uri.user
@proxy_uri.password = unescape @proxy_uri.password

@proxy_args = [
@proxy_uri.host,
@proxy_uri.port,
Expand Down

0 comments on commit b9031bf

Please sign in to comment.