summaryrefslogtreecommitdiff
path: root/ext/openssl/lib/net/protocols.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/lib/net/protocols.rb')
-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 5897716f3dd..6f646b57857 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