We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ebb3c1 + cbed0d8 commit ab234f2Copy full SHA for ab234f2
lib/jenkins_api_client/client.rb
@@ -345,7 +345,7 @@ def make_http_request(request, follow_redirect = @follow_redirects)
345
when 'http'
346
http = Net::HTTP::Proxy(@proxy_ip, @proxy_port).new(@server_ip, @server_port)
347
when 'socks'
348
- http = Net::HTTP::SOCKSProxy(@proxy_ip, @proxy_port).start(@server_ip, @server_port)
+ http = Net::HTTP::SOCKSProxy(@proxy_ip, @proxy_port).new(@server_ip, @server_port)
349
else
350
raise "unknown proxy protocol: '#{@proxy_protocol}'"
351
end
0 commit comments