使用 `wss:` 协议的 `WebSocket` 可能会导致消息的末尾永远无法发送: `bufferedAmount` 为 0,但最后的约 64 KiB 只有在客户端发送其他内容时才会到达。
作者: mathpirate创建于 2026年9月16日更新于 2026年9月16日
`server.ts`: a raw TLS listener that does the WebSocket handshake by hand, then reads 16 KiB at a time with a 1 ms pause and prints how many bytes it has received so far:
内容来源: denoland/deno