/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

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] WebSocket leading 0x80 bytes in length
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <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">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  10. <LINK REL="Previous" HREF="026102.html">
  11. <LINK REL="Next" HREF="026080.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] WebSocket leading 0x80 bytes in length</H1>
  15. <!--htdig_noindex-->
  16. <B>Simon Pieters</B>
  17. <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"
  18. TITLE="[whatwg] WebSocket leading 0x80 bytes in length">simonp at opera.com
  19. </A><BR>
  20. <I>Wed Apr 28 01:15:13 PDT 2010</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="026102.html">[whatwg] Adding ECMAScript 5 array extras to HTMLCollection (ATTN IE TEAM - TRAVIS LEITHEAD)
  23. </A></li>
  24. <LI>Next message: <A HREF="026080.html">[whatwg] WebSocket leading 0x80 bytes in length
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#26066">[ date ]</a>
  28. <a href="thread.html#26066">[ thread ]</a>
  29. <a href="subject.html#26066">[ subject ]</a>
  30. <a href="author.html#26066">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>The WebSocket spec allows leading 0x80 bytes in the length of a binary
  37. frame. Such bytes do not change the value of the length. In order to not
  38. have to deal with ridiculous cases such as when there are 50k such bytes,
  39. we would want to fail the connection if the first byte in length is 0x80.
  40. Allowing it also complicates the check of the closing handshake (if we
  41. want 0xFF 0x80 0x00 to not count as a closing handshake).
  42. --
  43. Simon Pieters
  44. Opera Software
  45. </PRE>
  46. <!--endarticle-->
  47. <!--htdig_noindex-->
  48. <HR>
  49. <P><UL>
  50. <!--threads-->
  51. <LI>Previous message: <A HREF="026102.html">[whatwg] Adding ECMAScript 5 array extras to HTMLCollection (ATTN IE TEAM - TRAVIS LEITHEAD)
  52. </A></li>
  53. <LI>Next message: <A HREF="026080.html">[whatwg] WebSocket leading 0x80 bytes in length
  54. </A></li>
  55. <LI> <B>Messages sorted by:</B>
  56. <a href="date.html#26066">[ date ]</a>
  57. <a href="thread.html#26066">[ thread ]</a>
  58. <a href="subject.html#26066">[ subject ]</a>
  59. <a href="author.html#26066">[ author ]</a>
  60. </LI>
  61. </UL>
  62. <hr>
  63. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  64. mailing list</a><br>
  65. <!--/htdig_noindex-->
  66. </body></html>