lib/httpx/connection/http1.rb in httpx-0.18.4 vs lib/httpx/connection/http1.rb in httpx-0.18.5
- old
+ new
@@ -182,10 +182,10 @@
catch(:called) { on_complete }
return
end
if @pipelining
- disable
+ catch(:called) { disable }
else
@requests.each do |request|
emit(:error, request, ex)
end
@pending.each do |request|