mirror of
https://github.com/cloudflare/cloudflared.git
synced 2026-11-17 19:26:14 +00:00
Integrating the changes introduced here: https://github.com/cloudflare/cloudflared/pull/1741 This fixes silent data loss in TCP/SOCKS-over-WebSocket connections when a WebSocket message exceeds the caller’s read buffer. Unread bytes are now buffered and delivered by subsequent reads, preserving the complete byte stream in order. |
History
|
|
|---|---|---|
| .. | ||
| connection.go | ||
| connection_test.go | ||
| websocket.go | ||
| websocket_test.go | ||