Submit
Path:
~
/
/
lib
/
ruby
/
3.0.0
/
bundler
/
vendor
/
net-http-persistent
/
lib
/
net
/
http
/
persistent
/
File Content:
connection.rb
## # A Net::HTTP connection wrapper that holds extra information for managing the # connection's lifetime. class Bundler::Persistent::Net::HTTP::Persistent::Connection # :nodoc: attr_accessor :http attr_accessor :last_use attr_accessor :requests attr_accessor :ssl_generation def initialize http_class, http_args, ssl_generation @http = http_class.new(*http_args) @ssl_generation = ssl_generation reset end def finish @http.finish rescue IOError ensure reset end def reset @last_use = Bundler::Persistent::Net::HTTP::Persistent::EPOCH @requests = 0 end def ressl ssl_generation @ssl_generation = ssl_generation finish end end
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
connection.rb
712 bytes
0644
pool.rb
1157 bytes
0644
timed_stack_multi.rb
1638 bytes
0644
N4ST4R_ID | Naxtarrr