module HTTPX::Plugins::Proxy::HTTP::ConnectionMethods

  1. lib/httpx/plugins/proxy/http.rb

Methods

Public Instance

  1. force_close

Public Instance methods

force_close(*)
[show source]
   # File lib/httpx/plugins/proxy/http.rb
49 def force_close(*)
50   if @state == :connecting
51     # proxy connect related requests should not be reenqueed
52     @parser.reset
53     @inflight -= @parser.pending.size
54     @parser.pending.clear
55   end
56 
57   super
58 end