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 Fixed broken bundle gem command. 2017-10-05 08:32:01 +00:00
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 Net::HTTP.new: Support no_proxy parameter [Feature #11195] 2017-09-28 10:51:37 +00:00
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 update Ruby to Unicode 10.0.0 2017-09-06 07:56:41 +00:00
uri URI::Generic: Separate no_proxy handling 2017-09-28 10:51:31 +00:00
webrick webrick: fix up r60172 2017-10-16 04:33:53 +00:00
yaml
abbrev.rb
base64.rb
benchmark.rb
bundler.gemspec Fixed broken bundle gem command. 2017-10-05 08:32:01 +00:00
bundler.rb Merge bundler to standard libraries. 2017-09-08 08:45:41 +00:00
cgi.rb
cmath.gemspec Update gemspec for gem released versions. 2017-09-14 02:01:36 +00:00
cmath.rb
csv.gemspec Merge csv-0.1.0 from upstream. 2017-09-12 08:38:06 +00:00
csv.rb Merge csv-0.1.0 from upstream. 2017-09-12 08:38:06 +00:00
debug.rb
delegate.rb
drb.rb
e2mmap.rb
English.rb
erb.rb Use unpack1 instead of unpack and [0] 2017-09-29 11:00:00 +00:00
fileutils.gemspec
fileutils.rb fileutils.rb: error at rmdir 2017-09-16 11:59:47 +00:00
find.rb Find.find -> Use Dir.children instead of Dir.entries 2017-09-15 17:00:49 +00:00
forwardable.rb
getoptlong.rb getoptlong.rb: multiline regexps 2017-09-02 02:05:34 +00:00
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 Update gemspec for gem released versions. 2017-09-14 02:01:36 +00:00
scanf.rb
securerandom.rb lib/securerandom.rb: test one byte to determine urandom or openssl 2017-09-11 12:44:51 +00:00
set.rb Alias Set#=== to #include? 2017-09-19 08:45:12 +00:00
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