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
46 def force_close(*)
47   if @state == :connecting
48     # proxy connect related requests should not be reenqueed
49     @parser.reset!
50     @inflight -= @parser.pending.size
51     @parser.pending.clear
52   end
53 
54   super
55 end