This commit is contained in:
2025-05-29 12:54:31 +00:00
parent ab1ea95070
commit 30ff3b7d8a
7 changed files with 36 additions and 180 deletions

View File

@ -40,7 +40,8 @@ tap.test('should detect and forward non-TLS connections on useHttpProxy ports',
isTLS: false
}),
initiateCleanupOnce: () => {},
cleanupConnection: () => {}
cleanupConnection: () => {},
getConnectionCount: () => 1
};
// Mock route manager that returns a matching route
@ -127,7 +128,8 @@ tap.test('should handle TLS connections normally', async (tapTest) => {
tlsHandshakeComplete: false
}),
initiateCleanupOnce: () => {},
cleanupConnection: () => {}
cleanupConnection: () => {},
getConnectionCount: () => 1
};
const mockTlsManager = {