From 9de2f6ef9389bc1d30b469a592e333ed1b61fe74 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Wed, 13 Aug 2003 11:41:13 +0000 Subject: * lib/webrick/https.rb (HTTPServer#run): should set syncing-mode to SSLSocket. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/webrick/https.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/webrick/https.rb') diff --git a/lib/webrick/https.rb b/lib/webrick/https.rb index 2038540ec..fa8c667d2 100644 --- a/lib/webrick/https.rb +++ b/lib/webrick/https.rb @@ -129,6 +129,7 @@ module WEBrick def run(sock) if @config[:SSLEnable] ssl = OpenSSL::SSL::SSLSocket.new(sock, @ctx) + ssl.sync = true ssl.accept Thread.current[:WEBrickSocket] = ssl orig_run(ssl) -- cgit