lib/rack/app/request_stream.rb in rack-app-7.7.0 vs lib/rack/app/request_stream.rb in rack-app-8.0.0
- old
+ new
@@ -7,10 +7,10 @@
@parser = parser
end
def each(&block)
enum = Enumerator.new do |y|
- @io.rewind
+ # @io.rewind
while chunk = @io.gets
y << @parser.call(chunk)
end
end