Module: HTTPX::Plugins::Proxy::HTTP::ConnectionMethods
- Defined in:
- lib/httpx/plugins/proxy/http.rb
Instance Method Summary collapse
Instance Method Details
#force_close ⇒ Object
46 47 48 49 50 51 52 53 54 55 |
# File 'lib/httpx/plugins/proxy/http.rb', line 46 def force_close(*) if @state == :connecting # proxy connect related requests should not be reenqueed @parser.reset! @inflight -= @parser.pending.size @parser.pending.clear end super end |