We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea89f94 commit 3cf1f5dCopy full SHA for 3cf1f5d
1 file changed
lib/pacproxy/pacproxy.rb
@@ -27,7 +27,6 @@ def initialize(config = {})
27
28
def start
29
@socket = TCPServer.new(@host, @port)
30
- @socket.setsockopt(:SOCKET, :REUSEADDR, true)
31
@status = :Running
32
loop do
33
s = @socket.accept
@@ -37,6 +36,8 @@ def start
37
36
STDERR.puts e
38
sleep 3
39
retry
+ rescue => e
40
+ STDERR.puts e
41
ensure
42
shutdown
43
end
0 commit comments