Skip to content

Commit

Permalink
Sync close of ssl socket
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Oct 3, 2012
1 parent c25daa6 commit b5f6f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moped/sockets/ssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def initialize(host, port)
handle_socket_errors do
@socket = TCPSocket.new(host, port)
super(socket)
connect
self.sync_close = true
end
end

Expand Down

0 comments on commit b5f6f49

Please sign in to comment.