net-http
net-http copied to clipboard
preventing hang when TCPSocket readable, but no app-data is available
eof? is a blocking read that times out when no application data is available - it should not be used as a readiness probe
fixes https://github.com/ruby/net-http/issues/233