1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
normal 525ebb862e webrick: fix up r60172
By making the socket non-blocking in r60172, TLS/SSL negotiation
via the SSL_accept function must handle non-blocking sockets
properly and retry on SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE.
OpenSSL::SSL::SSLSocket#accept cannot do that properly with a
non-blocking socket, so it must use non-blocking logic of
OpenSSL::SSL::SSLSocket#accept_nonblock.

Thanks to MSP-Greg (Greg L) for finding this.

* lib/webrick/server.rb (start_thread): use SSL_accept properly
  with non-blocking socket.
  [Bug #14013] [Bug #14005]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-16 04:33:53 +00:00
..
bundler
cgi
drb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
forwardable
irb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
matrix
net
optparse
racc
rdoc * remove trailing spaces. 2017-10-10 02:01:01 +00:00
rexml
rinda Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
rss
rubygems Merge rubygems-2.6.14 changes. 2017-10-10 08:58:22 +00:00
shell Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
unicode_normalize
uri
webrick webrick: fix up r60172 2017-10-16 04:33:53 +00:00
yaml
abbrev.rb
base64.rb
benchmark.rb
bundler.gemspec
bundler.rb
cgi.rb
cmath.gemspec
cmath.rb
csv.gemspec
csv.rb
debug.rb
delegate.rb
drb.rb
e2mmap.rb
English.rb
erb.rb
fileutils.gemspec
fileutils.rb
find.rb
forwardable.rb
getoptlong.rb
ipaddr.gemspec
ipaddr.rb
irb.rb
logger.rb
matrix.rb
mkmf.rb
monitor.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
mutex_m.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
observer.rb
open-uri.rb
open3.rb
optionparser.rb
optparse.rb
ostruct.rb
pp.rb
prettyprint.rb
prime.rb
profile.rb
profiler.rb
pstore.rb
rdoc.rb Removed obsoleted test for RubyToken. 2017-10-10 04:54:49 +00:00
resolv-replace.rb
resolv.rb
rss.rb
rubygems.rb Merge rubygems-2.6.14 changes. 2017-10-10 08:58:22 +00:00
scanf.gemspec
scanf.rb
securerandom.rb
set.rb
shell.rb
shellwords.rb
singleton.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
sync.rb
tempfile.rb
thwait.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
time.rb
timeout.rb
tmpdir.rb
tracer.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
tsort.rb
un.rb
uri.rb
weakref.rb
webrick.rb
yaml.rb