This release is all about WebSockets and laying the groundwork for future features and improvements.
What's Changed
-
WebSockets Support: The server now supports WebSockets, offering a more flexible and efficient way for clients to connect. By @sbruens in #225
Example config:
web: servers: - id: my_web_server listen: - "127.0.0.1:8000" services: - listeners: - type: websocket-stream web_server: my_web_server path: "/SECRET/tcp" # Prevent probing by serving under a secret path. - type: websocket-packet web_server: my_web_server path: "/SECRET/udp" # Prevent probing by serving under a secret path. keys: - id: user-0 cipher: chacha20-ietf-poly1305 secret: Secret0
-
Client IP Detection: The server now correctly identifies client IP addresses from request headers, which is important for logging and key searches. By @sbruens in #233
-
SDK Integration: We've integrated the SDK's WebSocket upgrade function for more streamlined WebSocket handling. By @sbruens in #234
Full Changelog: v1.8.0...v1.9.0-rc1