/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-April/068353.html

https://github.com/whatwg/whatwg.org · HTML · 81 lines · 69 code · 5 blank · 7 comment · 0 complexity · f45ce8e5dc1a0de9d9346e970747c086 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//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.vbvkoihkidj3kv%40simon-pieterss-macbook.local%3E">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <style type="text/css">
  10. pre {
  11. white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
  12. }
  13. </style>
  14. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  15. <LINK REL="Previous" HREF="068339.html">
  16. <LINK REL="Next" HREF="068346.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] WebSocket leading 0x80 bytes in length</H1>
  20. <!--htdig_noindex-->
  21. <B>Simon Pieters</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20leading%200x80%20bytes%20in%20length&In-Reply-To=%3Cop.vbvkoihkidj3kv%40simon-pieterss-macbook.local%3E"
  23. TITLE="[whatwg] WebSocket leading 0x80 bytes in length">simonp at opera.com
  24. </A><BR>
  25. <I>Wed Apr 28 06:49:20 PDT 2010</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="068339.html">[whatwg] WebSocket leading 0x80 bytes in length
  28. </A></li>
  29. <LI>Next message: <A HREF="068346.html">[whatwg] link by name instead of url
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#68353">[ date ]</a>
  33. <a href="thread.html#68353">[ thread ]</a>
  34. <a href="subject.html#68353">[ subject ]</a>
  35. <a href="author.html#68353">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>On Wed, 28 Apr 2010 10:15:13 +0200, Simon Pieters &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">simonp at opera.com</A>&gt; wrote:
  42. &gt;<i> The WebSocket spec allows leading 0x80 bytes in the length of a binary
  43. </I>&gt;<i> frame. Such bytes do not change the value of the length. In order to not
  44. </I>&gt;<i> have to deal with ridiculous cases such as when there are 50k such
  45. </I>&gt;<i> bytes, we would want to fail the connection if the first byte in length
  46. </I>&gt;<i> is 0x80.
  47. </I>
  48. This is now sunk cost for us. Please disregard.
  49. &gt;<i> Allowing it also complicates the check of the closing handshake (if we
  50. </I>&gt;<i> want 0xFF 0x80 0x00 to not count as a closing handshake).
  51. </I>
  52. --
  53. Simon Pieters
  54. Opera Software
  55. </PRE>
  56. <!--endarticle-->
  57. <!--htdig_noindex-->
  58. <HR>
  59. <P><UL>
  60. <!--threads-->
  61. <LI>Previous message: <A HREF="068339.html">[whatwg] WebSocket leading 0x80 bytes in length
  62. </A></li>
  63. <LI>Next message: <A HREF="068346.html">[whatwg] link by name instead of url
  64. </A></li>
  65. <LI> <B>Messages sorted by:</B>
  66. <a href="date.html#68353">[ date ]</a>
  67. <a href="thread.html#68353">[ thread ]</a>
  68. <a href="subject.html#68353">[ subject ]</a>
  69. <a href="author.html#68353">[ author ]</a>
  70. </LI>
  71. </UL>
  72. <hr>
  73. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  74. mailing list</a><br>
  75. <!--/htdig_noindex-->
  76. </body></html>