Actions
Bug #12130
closedWEBrick::HTTPProxy closes connection when the socket is not writable temporally
Description
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
Updated by hsbt (Hiroshi SHIBATA) over 8 years ago
- Status changed from Open to Assigned
- Assignee set to hsbt (Hiroshi SHIBATA)
Updated by hsbt (Hiroshi SHIBATA) over 7 years ago
- Assignee changed from hsbt (Hiroshi SHIBATA) to normalperson (Eric Wong)
Eric
Could you review and handle this issue?
Updated by Anonymous over 7 years ago
- Status changed from Assigned to Closed
Applied in changeset trunk|r59965.
webrick: handle EAGAIN/EWOULDBLOCK on proxy connections
- lib/webrick/httpproxy.rb (do_CONNECT): high-level IO methods
[ruby-core:82861] [Bug #12130]
Patch by: Keisuke NISHI
Updated by hsbt (Hiroshi SHIBATA) over 7 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONTNEED
Actions
Like0
Like0Like0Like0Like0