fix(PortProxy/SNI): Refactor SNI extraction in PortProxy to use the dedicated SniHandler class

This commit is contained in:
2025-03-11 17:01:07 +00:00
parent d81cf94876
commit 87d26c86a1
5 changed files with 354 additions and 200 deletions

View File

@ -1,5 +1,13 @@
# Changelog
## 2025-03-11 - 3.37.1 - fix(PortProxy/SNI)
Refactor SNI extraction in PortProxy to use the dedicated SniHandler class
- Removed local SNI extraction and handshake detection functions from classes.portproxy.ts
- Introduced a standalone SniHandler class in ts/classes.snihandler.ts for robust SNI extraction and improved logging
- Replaced inlined calls to isTlsHandshake and extractSNI with calls to SniHandler methods
- Ensured consistency in handling TLS ClientHello messages across the codebase
## 2025-03-11 - 3.37.0 - feat(portproxy)
Add ACME certificate management options to PortProxy, update ACME settings handling, and bump dependency versions