lib/falcon/adapters/input.rb in falcon-0.15.0 vs lib/falcon/adapters/input.rb in falcon-0.15.1
- old
+ new
@@ -27,10 +27,10 @@
@body = body
@chunks = []
@index = 0
@buffer = Async::IO::BinaryString.new
- @finished = false
+ @finished = @body.nil?
end
def each(&block)
return to_enum unless block_given?