Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 0 additions & 4 deletions lib/net/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1962,10 +1962,6 @@ def conn_address # :nodoc:
@ipaddr || address()
end

def conn_port # :nodoc:
port()
end

def edit_path(path)
if proxy?
if path.start_with?("ftp://") || use_ssl?
Expand Down
4 changes: 0 additions & 4 deletions lib/net/http/proxy_delta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ def conn_address
proxy_address()
end

def conn_port
proxy_port()
end

def edit_path(path)
use_ssl? ? path : "http://#{addr_port()}#{path}"
end
Expand Down