feat(protocols): refactor protocol utilities into centralized protocols module
Some checks failed
Default (tags) / security (push) Successful in 55s
Default (tags) / test (push) Failing after 30m45s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped

This commit is contained in:
Juergen Kunz
2025-07-21 22:37:45 +00:00
parent d47b048517
commit 36068a6d92
32 changed files with 1155 additions and 394 deletions

View File

@@ -4,15 +4,15 @@ import {
TlsHandshakeType,
TlsExtensionType,
TlsUtils
} from '../utils/tls-utils.js';
} from '../../protocols/tls/utils/tls-utils.js';
import {
ClientHelloParser,
type LoggerFunction
} from './client-hello-parser.js';
} from '../../protocols/tls/sni/client-hello-parser.js';
import {
SniExtraction,
type ConnectionInfo
} from './sni-extraction.js';
} from '../../protocols/tls/sni/sni-extraction.js';
/**
* SNI (Server Name Indication) handler for TLS connections.