lib/async/http/protocol/http1/connection.rb in async-http-0.40.2 vs lib/async/http/protocol/http1/connection.rb in async-http-0.40.3

- old
+ new

@@ -38,11 +38,11 @@ @version = version end attr :version - def read_line - @stream.read_until(CRLF) or raise EOFError, "Could not read line" + def read_line? + @stream.read_until(CRLF) end # @return [Async::Wrapper] the underlying non-blocking IO. def hijack! @persistent = false