1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
normal 280f732215 openssl: accept moving write buffer for write_nonblock
By setting the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag.
This flag was introduced at the same time as
SSL_MODE_ENABLE_PARTIAL_WRITE in OpenSSL 0.9.4 and makes usage
with non-blocking sockets much easier.

Before this, a Rubyist would need to remember the exact object
which failed to write and reuse it later when the socket became
writable again.  This causes problems when the buffer is given
by another layer of the application (e.g. a buffer is given
by a Rack middleware or application to a Rack web server).

* ext/openssl/ossl_ssl.c (ossl_sslctx_s_alloc):
  enable SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER by default
  [Bug #12126]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-31 20:33:55 +00:00
..
-ext- * numeric.c (int_to_f): raise NotImplementedError when a receiver 2016-03-19 09:43:35 +00:00
base64 Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
benchmark Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
bigdecimal Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
cgi test_cgi_util.rb: test_cgi_unescapeHTML_invalid 2016-02-14 08:52:38 +00:00
coverage * test/coverage/test_coverage.rb: ignored test when enabled to coverage. 2016-01-04 01:14:45 +00:00
csv Adding a liberal_parsing option to CSV. Patch by Braden Anderson. 2016-01-01 02:44:48 +00:00
date * ext/date/date_core.c (datetime_to_time): preserve timezone info 2016-03-18 01:26:12 +00:00
dbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
digest Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
drb drbtest.rb: make command an array 2016-02-12 04:24:10 +00:00
dtrace Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
erb erb.rb: fronzen-string-literal in comment [Fix GH-1229] 2016-01-29 05:16:29 +00:00
etc Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
excludes TestISeq.rb: exclude time consuming GC test 2016-01-19 02:55:34 +00:00
fiddle * ext/fiddle/handle.c: check tainted string arguments. 2015-12-16 12:08:49 +00:00
fileutils Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
gdbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
io * test/io/wait/test_io_wait.rb (test_wait_readwrite_timeout): 2016-03-09 00:28:41 +00:00
irb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
json Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
lib test/unit.rb: defer failures in non-replace mode 2016-03-22 01:11:03 +00:00
logger Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
matrix Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
minitest Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
misc Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
mkmf mkmf: Unquote directory strings 2016-03-24 16:10:43 +00:00
monitor Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
net * test/net/imap/test_imap.rb (test_idle_timeout): Because of the 2016-03-07 23:22:49 +00:00
nkf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
objspace Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
open-uri * lib/open-uri.rb: Use userinfo for authenticated proxy. 2016-03-30 00:46:05 +00:00
openssl openssl: accept moving write buffer for write_nonblock 2016-03-31 20:33:55 +00:00
optparse optparse.rb: into kwdarg 2016-01-06 08:23:10 +00:00
ostruct test_ostruct.rb: sort method names 2016-01-04 07:47:44 +00:00
pathname * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
psych * test/psych/test_emitter.rb: test_resizing_tags missing 2016-02-22 23:22:39 +00:00
rdoc test_rdoc_generator_json_index.rb: open in binmode 2015-12-22 16:41:34 +00:00
readline Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
resolv Resolv::IPv6.create: avoid modifying frozen string literal 2015-12-28 20:31:10 +00:00
rexml fix common misspelling [ci skip] 2015-12-24 23:23:46 +00:00
rinda Sat Mar 5 09:17:54 2016 Rei Odaira <Rei.Odaira@gmail.com> 2016-03-05 00:29:39 +00:00
ripper Fix Ripper.lex error in dedenting squiggly heredoc 2016-02-02 23:21:34 +00:00
rss Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ruby * enc/unicode/case-folding.rb, casefold.h: Tweaked handling of 6 2016-03-29 07:53:43 +00:00
rubygems * lib/rubygems.rb: Fix Gem.find_spec_for_exe picks oldest gem. 2016-03-28 02:30:28 +00:00
scanf Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
sdbm Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
shell Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
socket * test/socket/test_socket.rb (test_udp_recvmsg_truncation): 2016-03-10 00:55:37 +00:00
stringio stringio: binmode sets encoding to ASCII-8BIT 2016-01-04 20:45:14 +00:00
strscan Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
syslog Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
testunit test/unit: fix for the test 2016-02-27 04:16:44 +00:00
thread Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
uri CIDR in no_proxy 2016-02-13 08:31:12 +00:00
webrick * lib/webrick/httpresponse.rb: Move error_body to method. It allow to 2016-03-29 03:45:32 +00:00
win32ole Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xmlrpc leakchecker.rb: remove temporary measure 2016-01-05 06:09:17 +00:00
zlib * test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine): 2016-03-04 22:20:56 +00:00
colors default colors 2015-05-17 00:50:11 +00:00
runner.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_abbrev.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_cmath.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_delegate.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_find.rb find.rb: raise with the name 2016-02-19 14:38:28 +00:00
test_forwardable.rb forwardable.rb: adjust backtrace by tail call 2015-12-30 02:28:59 +00:00
test_ipaddr.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_mathn.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_mutex_m.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_observer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_open3.rb * lib/open3.rb: Specify frozen_string_literal: true. 2015-11-14 07:43:23 +00:00
test_pp.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
test_prettyprint.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
test_prime.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pstore.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_pty.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_rbconfig.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_securerandom.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_set.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_shellwords.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_singleton.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_syslog.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tempfile.rb test_tempfile.rb: use assert_file 2016-01-08 08:24:01 +00:00
test_time.rb * lib/time.rb (parse, strptime): Fix Time.parse/strptime does not 2016-03-17 17:46:22 +00:00
test_timeout.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tmpdir.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tracer.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_tsort.rb test/test_tsort.rb: Specify frozen_string_literal: true. 2015-11-14 09:43:18 +00:00
test_unicode_normalize.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_weakref.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_win32api.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00