fix(network-proxy/websocket): Improve WebSocket connection closure and update router integration

This commit is contained in:
2025-05-15 20:08:18 +00:00
parent 0e2c8d498d
commit 1a038f001f
5 changed files with 33 additions and 7 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-05-15 - 18.1.1 - fix(network-proxy/websocket)
Improve WebSocket connection closure and update router integration
- Wrap WS close logic in try-catch blocks to ensure valid close codes are used for both incoming and outgoing WebSocket connections
- Use explicit numeric close codes (defaulting to 1000 when unavailable) to prevent improper socket termination
- Update NetworkProxy updateRoutes to also refresh the WebSocket handler routes for consistent configuration
## 2025-05-15 - 18.1.0 - feat(nftables)
Add NFTables integration for kernel-level forwarding and update documentation, tests, and helper functions