From: hsbt@... Date: 2017-09-19T06:00:35+00:00 Subject: [ruby-core:82861] [Ruby trunk Bug#12130] WEBrick::HTTPProxy closes connection when the socket is not writable temporally Issue #12130 has been updated by hsbt (Hiroshi SHIBATA). Assignee changed from hsbt (Hiroshi SHIBATA) to normalperson (Eric Wong) > Eric Could you review and handle this issue? ---------------------------------------- Bug #12130: WEBrick::HTTPProxy closes connection when the socket is not writable temporally https://bugs.ruby-lang.org/issues/12130#change-66758 * Author: labocho (Keisuke NISHI) * Status: Assigned * Priority: Normal * Assignee: normalperson (Eric Wong) * Target version: * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin14] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- `WEBrick::HTTPProxy#do_CONNECT` closes connection when `Errno::EAGAIN` or `Errno::WOULDBLOCK` occurred. These exceptions will raise when the socket is not writable temporally. I expect that the proxy will wait until the socket will be writable rather than closing the connection. ---Files-------------------------------- webrick_httpproxy_will_close_connection.patch (805 Bytes) webrick_httpproxy_will_close_connection.rb (1.25 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: