Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix reconnect on unix-domain connection #261

  • Loading branch information...
commit fa4d4eefb215267feffa47a97f1be64e87765458 1 parent edaeafe
@dre3k dre3k authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/eventmachine.rb
View
6 lib/eventmachine.rb
@@ -761,7 +761,11 @@ def self.reconnect server, port, handler
#raise "still connected" if @conns.has_key?(handler.signature)
return handler if @conns.has_key?(handler.signature)
- s = connect_server server, port
+ s = if port
+ connect_server server, port
+ else
+ connect_unix_server server
+ end
handler.signature = s
@conns[s] = handler
block_given? and yield handler
Please sign in to comment.
Something went wrong with that request. Please try again.