summaryrefslogtreecommitdiff
path: root/ext/openssl/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/lib/net')
-rw-r--r--ext/openssl/lib/net/protocols.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/lib/net/protocols.rb b/ext/openssl/lib/net/protocols.rb
index 5897716f3d..6f646b5785 100644
--- a/ext/openssl/lib/net/protocols.rb
+++ b/ext/openssl/lib/net/protocols.rb
@@ -42,6 +42,7 @@ module Net
def ssl_connect()
@raw_socket = @socket
@socket = OpenSSL::SSL::SSLSocket.new(@raw_socket, @ssl_context)
+ @scoket.sync = true
@socket.connect
end