lib/async/http/client.rb in async-http-0.14.0 vs lib/async/http/client.rb in async-http-0.15.0
- old
+ new
@@ -68,10 +68,10 @@
begin
yield response if block_given?
ensure
# This forces the stream to complete reading.
- response.close
+ response.finish
end
return response
end
end