1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
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
..
-test- * numeric.c (int_to_f, fix_to_f): rename fix_to_f to int_to_f, and add 2016-03-18 14:52:46 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.gemspec: bump version to 1.2.8. 2015-12-22 12:20:28 +00:00
cgi/escape cgi/escape: Optimize CGI.unescape 2016-02-21 04:57:57 +00:00
continuation handle ext/ as r53141 2015-12-16 05:31:54 +00:00
coverage * thread.c (update_coverage): Do not track coverage in loaded files 2016-03-31 16:14:52 +00:00
date date_core.c: fix indent 2016-03-31 02:33:51 +00:00
dbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
digest handle ext/ as r53141 2015-12-16 05:31:54 +00:00
etc handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fcntl handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fiber handle ext/ as r53141 2015-12-16 05:31:54 +00:00
fiddle * ext/fiddle/handle.c: check tainted string arguments. 2015-12-16 12:08:49 +00:00
gdbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
io wait readable/writable 2016-01-24 07:55:05 +00:00
json handle ext/ as r53141 2015-12-16 05:31:54 +00:00
mathn handle ext/ as r53141 2015-12-16 05:31:54 +00:00
nkf * ext/nkf/nkf-utf8/nkf.c: Merge upstream 69f7e74dde. 2016-03-30 18:41:46 +00:00
objspace vm_core.h: use RUBY_ASSERT 2016-01-22 08:37:36 +00:00
openssl openssl: accept moving write buffer for write_nonblock 2016-03-31 20:33:55 +00:00
pathname handle ext/ as r53141 2015-12-16 05:31:54 +00:00
psych stdlib: avoid extra calls to eliminate "\n" from Base64 2016-01-10 00:35:43 +00:00
pty * ext/pty/pty.c: fix double words typo. 2015-12-18 00:44:52 +00:00
racc/cparse handle ext/ as r53141 2015-12-16 05:31:54 +00:00
rbconfig/sizeof common.mk: source dependency for nmake 2016-01-22 12:30:31 +00:00
readline handle ext/ as r53141 2015-12-16 05:31:54 +00:00
ripper Fix Ripper.lex error in dedenting squiggly heredoc 2016-02-02 23:21:34 +00:00
sdbm handle ext/ as r53141 2015-12-16 05:31:54 +00:00
socket socket/option.c: accurate condition 2016-03-17 02:36:28 +00:00
stringio stringio: binmode sets encoding to ASCII-8BIT 2016-01-04 20:45:14 +00:00
strscan * re.c: Introduce RREGEXP_PTR. 2016-02-02 04:39:44 +00:00
syslog handle ext/ as r53141 2015-12-16 05:31:54 +00:00
thread handle ext/ as r53141 2015-12-16 05:31:54 +00:00
tk * ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo. 2016-03-07 15:28:57 +00:00
win32 win32/resolv.rb: invert the condition 2016-02-15 04:23:15 +00:00
win32ole win32ole_event.c: use rb_write_error_str 2016-03-07 01:58:09 +00:00
zlib * ext/zlib/zlib.c: Document mtime header behavior with patch by @schneems 2016-02-09 05:33:35 +00:00
.document * ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file 2014-08-02 14:55:36 +00:00
extmk.rb extmk.rb: cygwin case 2016-02-19 02:09:06 +00:00
Setup cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.atheos cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.nacl cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00
Setup.nt cgi/escape: Optimize CGI.escapeHTML 2015-12-20 11:54:54 +00:00