fix(smartproxy): improve certificate manager mocking in tests, enhance IPv6 validation, and record initial bytes for connection metrics

This commit is contained in:
2026-01-30 19:52:36 +00:00
parent 1d1e5062a6
commit 2068b7a1ad
15 changed files with 230 additions and 119 deletions

View File

@@ -85,6 +85,7 @@ tap.test('websocket keep-alive settings for SNI passthrough', async (tools) => {
// Test actual long-lived connection behavior
tap.test('long-lived connection survival test', async (tools) => {
tools.timeout(70000); // This test waits 65 seconds
console.log('\n=== Testing long-lived connection survival ===');
// Create a simple echo server