summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-13 11:41:13 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-13 11:41:13 +0000
commit3d7147bcea7323a6dd2dbfc0c02c442c7f2caa39 (patch)
treea640050373148ee7e6b0230a0e7dc3d8097373e7 /lib
parentc791dc1345ad8ebe7b707e8922b42a7a43c53b89 (diff)
* lib/webrick/https.rb (HTTPServer#run): should set syncing-mode
to SSLSocket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/webrick/https.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/webrick/https.rb b/lib/webrick/https.rb
index 2038540ecc..fa8c667d2a 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)