diff options
| author | mo khan <mo@mokhan.ca> | 2026-01-31 23:57:00 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2026-01-31 23:57:00 -0700 |
| commit | 43fe420b419dee4e760288761a45ba47eb28ab2e (patch) | |
| tree | 8278476993599682af7489193d6b514056917775 /test/net | |
| parent | b8c1171c332a574c7c0a68538471daf82c386867 (diff) | |
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
Diffstat (limited to 'test/net')
| -rw-r--r-- | test/net/client_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
