lib/async/http/protocol/http1/connection.rb in async-http-0.38.2 vs lib/async/http/protocol/http1/connection.rb in async-http-0.38.3
- old
+ new
@@ -42,10 +42,10 @@
def read_line
@stream.read_until(CRLF) or raise EOFError, "Could not read line"
end
# @return [Async::Wrapper] the underlying non-blocking IO.
- def hijack
+ def hijack!
@persistent = false
@stream.flush
return @stream.io