We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f525ef6 commit 2cdcab2Copy full SHA for 2cdcab2
lib/net/http.rb
@@ -2464,7 +2464,7 @@ def begin_transport(req)
2464
connect
2465
end
2466
while @socket.io.to_io.wait_readable(0)
2467
- if @socket.io.to_io.read_nonblock(1, exception: false) == nil
+ if @socket.io.read_nonblock(1, exception: false) == nil
2468
debug "Conn close because of EOF"
2469
@socket.close
2470
0 commit comments