Skip to content

Commit 1b69bf5

Browse files
committed
Remove ssl_generation_key for 2.x cleanup
1 parent b676873 commit 1b69bf5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/net/http/persistent.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,6 @@ def self.detect_idle_timeout uri, max = 10
427427

428428
attr_reader :ssl_generation # :nodoc:
429429

430-
##
431-
# Where this instance's SSL connections live in the thread local variables
432-
433-
attr_reader :ssl_generation_key # :nodoc:
434-
435430
##
436431
# SSL session lifetime
437432

@@ -523,9 +518,6 @@ def initialize name: nil, proxy: nil, pool_size: DEFAULT_POOL_SIZE
523518
@socket_options << [Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1] if
524519
Socket.const_defined? :TCP_NODELAY
525520

526-
key = ['net_http_persistent', name].compact
527-
@ssl_generation_key = [key, 'ssl_generations'].join('_').intern
528-
529521
@pool = Net::HTTP::Persistent::Pool.new size: pool_size do |http_args|
530522
Net::HTTP::Persistent::Connection.new Net::HTTP, http_args, @ssl_generation
531523
end

0 commit comments

Comments
 (0)