Skip to content

Instantly share code, notes, and snippets.

@guest271314
Created September 2, 2025 07:28
Show Gist options
  • Save guest271314/bf682401b2a72dad64bfb8063be085d3 to your computer and use it in GitHub Desktop.
Save guest271314/bf682401b2a72dad64bfb8063be085d3 to your computer and use it in GitHub Desktop.
Why does Deno send 22 extra bytes when closing a WebSocket connection?

Why does Deno send 22 extra bytes when closing a WebSocket connection?

[136, 144, 234, 110, 246, 61, 249, 233, 178, 82, 132, 11, 214, 78, 158, 28, 147, 92, 135, 7, 152, 90]
[136, 144, 51, 194, 179, 223, 32, 69, 247, 176, 93, 167, 147, 172, 71, 176, 214, 190, 94, 171, 221, 184]

The bytes always begin with 136 then 144, then appear to be random.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment