diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-13 11:41:13 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-13 11:41:13 +0000 |
| commit | 9de2f6ef9389bc1d30b469a592e333ed1b61fe74 (patch) | |
| tree | a640050373148ee7e6b0230a0e7dc3d8097373e7 /lib/webrick/https.rb | |
| parent | 9835c61bc956e5e7b40b770b6991d5386b6f86ed (diff) | |
| download | ruby-9de2f6ef9389bc1d30b469a592e333ed1b61fe74.tar.gz ruby-9de2f6ef9389bc1d30b469a592e333ed1b61fe74.tar.xz ruby-9de2f6ef9389bc1d30b469a592e333ed1b61fe74.zip | |
* 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
Diffstat (limited to 'lib/webrick/https.rb')
| -rw-r--r-- | lib/webrick/https.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
