Loading lib/httpx/session.rb +2 −2 Changes for lib/httpx/session.rb: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -355,13 +355,13 @@ module HTTPX # making the next loop cheaper (because we're dropping). next unless response if request.complete!(response) next unless request.complete!(response) responses[idx] = response request.on_response_arrived = nil pending -= 1 end end end raise Error, "something went wrong, #{pending} responses not found " \ "and requests not resent" unless pending.zero? Loading Loading
lib/httpx/session.rb +2 −2 Changes for lib/httpx/session.rb: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -355,13 +355,13 @@ module HTTPX # making the next loop cheaper (because we're dropping). next unless response if request.complete!(response) next unless request.complete!(response) responses[idx] = response request.on_response_arrived = nil pending -= 1 end end end raise Error, "something went wrong, #{pending} responses not found " \ "and requests not resent" unless pending.zero? Loading