lib/async/http/statistics.rb in async-http-0.37.3 vs lib/async/http/statistics.rb in async-http-0.37.4
- old
+ new
@@ -86,11 +86,9 @@
@first_chunk_time ||= Clock.now
if chunk
@sent += chunk.length
- else
- complete_statistics
end
return chunk
end