/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-February/024943.html

https://github.com/whatwg/whatwg.org · HTML · 93 lines · 77 code · 9 blank · 7 comment · 0 complexity · d58139dc36068ef80f2bcf85f9f0a27a MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] [hybi] Websocket algorithmic specification
  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%20%5Bhybi%5D%20Websocket%20algorithmic%20specification&In-Reply-To=%3C4B69F3FB.4000507%40webtide.com%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="067189.html">
  16. <LINK REL="Next" HREF="067196.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] [hybi] Websocket algorithmic specification</H1>
  20. <!--htdig_noindex-->
  21. <B>Greg Wilkins</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20%5Bhybi%5D%20Websocket%20algorithmic%20specification&In-Reply-To=%3C4B69F3FB.4000507%40webtide.com%3E"
  23. TITLE="[whatwg] [hybi] Websocket algorithmic specification">gregw at webtide.com
  24. </A><BR>
  25. <I>Wed Feb 3 14:08:59 PST 2010</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="067189.html">[whatwg] Websocket algorithmic specification
  28. </A></li>
  29. <LI>Next message: <A HREF="067196.html">[whatwg] Notification API
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#67216">[ date ]</a>
  33. <a href="thread.html#67216">[ thread ]</a>
  34. <a href="subject.html#67216">[ subject ]</a>
  35. <a href="author.html#67216">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>Jamie Lokier wrote:
  42. &gt;<i> Greg Wilkins wrote:
  43. </I>&gt;&gt;<i> send the following bytes to the remote server
  44. </I>&gt;&gt;<i> 47 45 54 20
  45. </I>&gt;&gt;<i>
  46. </I>&gt;&gt;<i> A literal reading of the spec would interpret that as
  47. </I>&gt;&gt;<i> meaning that the bytes actually have to be sent, while
  48. </I>&gt;&gt;<i> any sane implementation is going to append the bytes to
  49. </I>&gt;&gt;<i> a buffer to be sent/flushed sometime later.
  50. </I>&gt;&gt;<i>
  51. </I>&gt;&gt;<i> Does this mean that ws server could validly reject a
  52. </I>&gt;&gt;<i> handshake as non compliant if these bytes arrived
  53. </I>&gt;&gt;<i> in the same packet as the subsequent bytes?
  54. </I>&gt;<i>
  55. </I>&gt;<i> No, because TCP does not preserve write boundaries.
  56. </I>
  57. I know that... you know that..... but will the script kiddie
  58. trying his hand at writing his own server know that?
  59. Anyway, I think the point is moot, as Ian has been
  60. adding text to the spec (in imperative voice :) to
  61. specify what &quot;send&quot; means.
  62. cheers
  63. </PRE>
  64. <!--endarticle-->
  65. <!--htdig_noindex-->
  66. <HR>
  67. <P><UL>
  68. <!--threads-->
  69. <LI>Previous message: <A HREF="067189.html">[whatwg] Websocket algorithmic specification
  70. </A></li>
  71. <LI>Next message: <A HREF="067196.html">[whatwg] Notification API
  72. </A></li>
  73. <LI> <B>Messages sorted by:</B>
  74. <a href="date.html#67216">[ date ]</a>
  75. <a href="thread.html#67216">[ thread ]</a>
  76. <a href="subject.html#67216">[ subject ]</a>
  77. <a href="author.html#67216">[ author ]</a>
  78. </LI>
  79. </UL>
  80. <hr>
  81. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  82. mailing list</a><br>
  83. <!--/htdig_noindex-->
  84. </body></html>