mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c791dc1345
commit
3d7147bcea
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Wed Aug 13 19:21:34 2003 Christian Neukirchen <chneukirchen@yahoo.de>
|
||||||
|
|
||||||
|
* lib/webrick/https.rb (HTTPServer#run): should set syncing-mode
|
||||||
|
to SSLSocket.
|
||||||
|
|
||||||
Wed Aug 13 18:13:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Wed Aug 13 18:13:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (POP_BLOCK): turn on BLOCK_LEFT flag when leaving block.
|
* eval.c (POP_BLOCK): turn on BLOCK_LEFT flag when leaving block.
|
||||||
|
@ -62,7 +67,7 @@ Sun Aug 10 10:43:05 2003 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
from 1k to 16k bytes. [ruby-talk:78603]
|
from 1k to 16k bytes. [ruby-talk:78603]
|
||||||
|
|
||||||
* ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc): enable
|
* ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc): enable
|
||||||
partial write to allow interruption in SSLSocket#sysread.
|
partial write to allow interruption in SSLSocket#write.
|
||||||
|
|
||||||
Sun Aug 10 00:34:16 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
Sun Aug 10 00:34:16 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
|
|
@ -129,6 +129,7 @@ module WEBrick
|
||||||
def run(sock)
|
def run(sock)
|
||||||
if @config[:SSLEnable]
|
if @config[:SSLEnable]
|
||||||
ssl = OpenSSL::SSL::SSLSocket.new(sock, @ctx)
|
ssl = OpenSSL::SSL::SSLSocket.new(sock, @ctx)
|
||||||
|
ssl.sync = true
|
||||||
ssl.accept
|
ssl.accept
|
||||||
Thread.current[:WEBrickSocket] = ssl
|
Thread.current[:WEBrickSocket] = ssl
|
||||||
orig_run(ssl)
|
orig_run(ssl)
|
||||||
|
|
Loading…
Add table
Reference in a new issue