From 43fe420b419dee4e760288761a45ba47eb28ab2e Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 31 Jan 2026 23:57:00 -0700 Subject: feat: add connection pooling and DNS caching for performance - Persistent HTTP sessions avoid Connection: close overhead - DNS pre-resolution with timeout prevents indefinite hangs - Thread-safe connection pool with LRU eviction - TLS certificates parsed once at init, not per-request - Extract TlsParser, DnsCache, ConnectionPool for SRP Bump to v1.5.0 --- test/net/client_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/net/client_test.rb b/test/net/client_test.rb index 4a688d1..19e8f81 100644 --- a/test/net/client_test.rb +++ b/test/net/client_test.rb @@ -313,7 +313,7 @@ class ClientTest < Minitest::Test refute_nil response assert_kind_of Net::HTTPOK, response io.rewind - assert_match %r{^(opening connection to www.example.org:443)}, io.read + assert_match(/^opening connection to .+:443/, io.read) end end end -- cgit v1.2.3