mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
c4049f4cb6
(rb_mWaitWritable): defined. (io_getpartial): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. (rb_io_write_nonblock): extend IO::WaitWritable on EWOULDBLOCK and EAGAIN. * error.c (make_errno_exc): extracted from rb_sys_fail. (rb_mod_sys_fail): new function. * include/ruby/ruby.h (rb_mod_sys_fail): declared. (rb_mWaitReadable): declared. (rb_mWaitWritable): declared. * ext/socket/init.c (rsock_s_recvfrom_nonblock): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. (rsock_s_accept_nonblock): extend IO::WaitReadable on EWOULDBLOCK, EAGAIN, ECONNABORTED and EPROTO. * ext/socket/socket.c (sock_connect_nonblock): extend IO::WaitWritable on EINPROGRESS. * ext/socket/ancdata.c (bsock_sendmsg_internal): extend IO::WaitWritable on EWOULDBLOCK and EAGAIN. (bsock_recvmsg_internal): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. * ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): raise SSLError extended by IO::WaitReadable/IO::WaitWritable on SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. * ext/openssl/ossl.c (ossl_make_error): extracted from ossl_raise. (ossl_exc_new): new function. * ext/openssl/ossl.h (ossl_exc_new): declared. * lib/net/protocol.rb (rbuf_fill): rescue IO::WaitReadable and IO::WaitWritable. [ruby-core:22539], [ruby-dev:38140] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
enc | ||
allpairs.rb | ||
beginmainend.rb | ||
endblockwarn_rb | ||
envutil.rb | ||
lbtest.rb | ||
marshaltestlib.rb | ||
sentence.rb | ||
test_alias.rb | ||
test_argf.rb | ||
test_array.rb | ||
test_assignment.rb | ||
test_basicinstructions.rb | ||
test_beginendblock.rb | ||
test_bignum.rb | ||
test_call.rb | ||
test_case.rb | ||
test_class.rb | ||
test_clone.rb | ||
test_comparable.rb | ||
test_complex.rb | ||
test_complex2.rb | ||
test_complexrational.rb | ||
test_condition.rb | ||
test_const.rb | ||
test_continuation.rb | ||
test_defined.rb | ||
test_dir.rb | ||
test_econv.rb | ||
test_encoding.rb | ||
test_enum.rb | ||
test_enumerator.rb | ||
test_env.rb | ||
test_eval.rb | ||
test_exception.rb | ||
test_fiber.rb | ||
test_file.rb | ||
test_file_exhaustive.rb | ||
test_fixnum.rb | ||
test_float.rb | ||
test_fnmatch.rb | ||
test_gc.rb | ||
test_hash.rb | ||
test_ifunless.rb | ||
test_integer.rb | ||
test_integer_comb.rb | ||
test_io.rb | ||
test_io_m17n.rb | ||
test_iterator.rb | ||
test_lambda.rb | ||
test_literal.rb | ||
test_m17n.rb | ||
test_m17n_comb.rb | ||
test_marshal.rb | ||
test_math.rb | ||
test_metaclass.rb | ||
test_method.rb | ||
test_mixed_unicode_escapes.rb | ||
test_module.rb | ||
test_numeric.rb | ||
test_object.rb | ||
test_objectspace.rb | ||
test_optimization.rb | ||
test_pack.rb | ||
test_parse.rb | ||
test_path.rb | ||
test_pipe.rb | ||
test_primitive.rb | ||
test_proc.rb | ||
test_process.rb | ||
test_rand.rb | ||
test_range.rb | ||
test_rational.rb | ||
test_rational2.rb | ||
test_readpartial.rb | ||
test_regexp.rb | ||
test_require.rb | ||
test_rubyoptions.rb | ||
test_settracefunc.rb | ||
test_signal.rb | ||
test_sleep.rb | ||
test_sprintf.rb | ||
test_sprintf_comb.rb | ||
test_string.rb | ||
test_stringchar.rb | ||
test_struct.rb | ||
test_super.rb | ||
test_symbol.rb | ||
test_system.rb | ||
test_thread.rb | ||
test_time.rb | ||
test_trace.rb | ||
test_transcode.rb | ||
test_unicode_escape.rb | ||
test_variable.rb | ||
test_whileuntil.rb | ||
test_yield.rb | ||
ut_eof.rb |