diff --git a/lib/protocol/http1/body/remainder.rb b/lib/protocol/http1/body/remainder.rb index 9467b0c..7dc2afb 100644 --- a/lib/protocol/http1/body/remainder.rb +++ b/lib/protocol/http1/body/remainder.rb @@ -17,7 +17,7 @@ def initialize(stream) end def empty? - @stream.eof? or @stream.closed? + @stream.closed? end def close(error = nil)