cosmo
cosmo copied to clipboard
feat: add hashHeadersWhitelist configuration for selective header hashing
trafficstars
Added support for a new configuration option hashHeadersWhitelist in the WebSocket configuration. This allows specifying a whitelist of headers that should be hashed and forwarded during WebSocket connections.
The implementation includes updates to the schema and handling of the new configuration option in the WebSocketConnectionHandler
Motivation and Context
Implement an allow-list to have fine-grained control over which headers are hashed in the initial subscription upgrade request.
TODO
- [ x] Tests or benchmark included
- [ ] Documentation is changed or added on https://app.gitbook.com/
- [ x] PR title must follow conventional-commit-standard