This commit is contained in:
Samuel Kadolph committed 2012-03-06 15:11:26 -05:00
1 parent b710babed6
commit 452121209b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ module Proxifier
def open(host, port, local_host = nil, local_port = nil)
return TCPSocket.new(host, port, local_host, local_port, :proxy => nil) unless proxify?(host)
socket = TCPSocket.new(proxy.host, proxy.port, local_host, local_port, :proxy => nil)
socket = TCPSocket.new(self.host, self.port, local_host, local_port, :proxy => nil)
begin
proxify(socket, host, port)
+1 -1
View File
@@ -23,7 +23,7 @@ module Proxifier
def open(host, port, local_host = nil, local_port = nil)
return TCPSocket.new(host, port, local_host, local_port) unless proxify?(host)
socket = TCPSocket.new(proxy.host, proxy.port, local_host, local_port)
socket = TCPSocket.new(self.host, self.port, local_host, local_port)
begin
proxify(socket, host, port)