/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-April/026066.html
https://github.com/whatwg/whatwg.org · HTML · 89 lines · 59 code · 23 blank · 7 comment · 0 complexity · 4cf3cf3b46e824bc2c132bba2fc99161 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] WebSocket leading 0x80 bytes in length
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20leading%200x80%20bytes%20in%20length&In-Reply-To=%3Cop.vbu47ndridj3kv%40simon-pieterss-macbook.local%3E">
- <META NAME="robots" CONTENT="index,nofollow">
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="026102.html">
- <LINK REL="Next" HREF="026080.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] WebSocket leading 0x80 bytes in length</H1>
- <!--htdig_noindex-->
- <B>Simon Pieters</B>
- <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20leading%200x80%20bytes%20in%20length&In-Reply-To=%3Cop.vbu47ndridj3kv%40simon-pieterss-macbook.local%3E"
- TITLE="[whatwg] WebSocket leading 0x80 bytes in length">simonp at opera.com
- </A><BR>
- <I>Wed Apr 28 01:15:13 PDT 2010</I>
- <P><UL>
- <LI>Previous message: <A HREF="026102.html">[whatwg] Adding ECMAScript 5 array extras to HTMLCollection (ATTN IE TEAM - TRAVIS LEITHEAD)
- </A></li>
- <LI>Next message: <A HREF="026080.html">[whatwg] WebSocket leading 0x80 bytes in length
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#26066">[ date ]</a>
- <a href="thread.html#26066">[ thread ]</a>
- <a href="subject.html#26066">[ subject ]</a>
- <a href="author.html#26066">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>The WebSocket spec allows leading 0x80 bytes in the length of a binary
- frame. Such bytes do not change the value of the length. In order to not
- have to deal with ridiculous cases such as when there are 50k such bytes,
- we would want to fail the connection if the first byte in length is 0x80.
- Allowing it also complicates the check of the closing handshake (if we
- want 0xFF 0x80 0x00 to not count as a closing handshake).
- --
- Simon Pieters
- Opera Software
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="026102.html">[whatwg] Adding ECMAScript 5 array extras to HTMLCollection (ATTN IE TEAM - TRAVIS LEITHEAD)
- </A></li>
- <LI>Next message: <A HREF="026080.html">[whatwg] WebSocket leading 0x80 bytes in length
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#26066">[ date ]</a>
- <a href="thread.html#26066">[ thread ]</a>
- <a href="subject.html#26066">[ subject ]</a>
- <a href="author.html#26066">[ author ]</a>
- </LI>
- </UL>
- <hr>
- <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
- mailing list</a><br>
- <!--/htdig_noindex-->
- </body></html>