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

https://github.com/whatwg/whatwg.org · HTML · 119 lines · 77 code · 35 blank · 7 comment · 0 complexity · 192563d358e6aa77773243472a2bd256 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] Simon's WebSocket feedback
  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%20Simon%27s%20WebSocket%20feedback&In-Reply-To=%3CPine.LNX.4.64.1004150804470.751%40ps20323.dreamhostps.com%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="025941.html">
  11. <LINK REL="Next" HREF="025917.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] Simon's WebSocket feedback</H1>
  15. <!--htdig_noindex-->
  16. <B>Ian Hickson</B>
  17. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20Simon%27s%20WebSocket%20feedback&In-Reply-To=%3CPine.LNX.4.64.1004150804470.751%40ps20323.dreamhostps.com%3E"
  18. TITLE="[whatwg] Simon's WebSocket feedback">ian at hixie.ch
  19. </A><BR>
  20. <I>Thu Apr 15 01:04:59 PDT 2010</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="025941.html">[whatwg] Simon's WebSocket feedback
  23. </A></li>
  24. <LI>Next message: <A HREF="025917.html">[whatwg] Input type attribute reflection
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#25943">[ date ]</a>
  28. <a href="thread.html#25943">[ thread ]</a>
  29. <a href="subject.html#25943">[ subject ]</a>
  30. <a href="author.html#25943">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>On Thu, 15 Apr 2010, Simon Pieters wrote:
  37. &gt;<i> On Thu, 15 Apr 2010 03:08:12 +0200, Ian Hickson &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">ian at hixie.ch</A>&gt; wrote:
  38. </I>&gt;<i> &gt; On Mon, 12 Apr 2010, Simon Pieters wrote:
  39. </I>&gt;<i> &gt; &gt;
  40. </I>&gt;<i> &gt; &gt; WebSocket establish a WebSocket connection:
  41. </I>&gt;<i> &gt; &gt;
  42. </I>&gt;<i> &gt; &gt; [[
  43. </I>&gt;<i> &gt; &gt; 21. Insert spaces1 U+0020 SPACE characters into key1 at random positions.
  44. </I>&gt;<i> &gt; &gt;
  45. </I>&gt;<i> &gt; &gt; Insert spaces2 U+0020 SPACE characters into key2 at random positions.
  46. </I>&gt;<i> &gt; &gt; ]]
  47. </I>&gt;<i> &gt; &gt;
  48. </I>&gt;<i> &gt; &gt; It seems a bit risky to insert spaces at the start and at the end of the
  49. </I>&gt;<i> &gt; &gt; string; I imagine some servers would ignore them (which would be a bug
  50. </I>&gt;<i> &gt; &gt; in the server, but hard to notice since it's random). Maybe we should
  51. </I>&gt;<i> &gt; &gt; avoid inserting them at the start and at the end.
  52. </I>&gt;<i> &gt;
  53. </I>&gt;<i> &gt; Since key1 and key2 can be numbers in the range 1-9, I don't see how to
  54. </I>&gt;<i> &gt; avoid at least one of those two places.
  55. </I>&gt;<i>
  56. </I>&gt;<i> You can insert the random characters before inserting the spaces.
  57. </I>
  58. Ooh, that's genius. Done.
  59. --
  60. Ian Hickson U+1047E )\._.,--....,'``. fL
  61. <A HREF="http://ln.hixie.ch/">http://ln.hixie.ch/</A> U+263A /, _.. \ _\ ;`._ ,.
  62. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
  63. </PRE>
  64. <!--endarticle-->
  65. <!--htdig_noindex-->
  66. <HR>
  67. <P><UL>
  68. <!--threads-->
  69. <LI>Previous message: <A HREF="025941.html">[whatwg] Simon's WebSocket feedback
  70. </A></li>
  71. <LI>Next message: <A HREF="025917.html">[whatwg] Input type attribute reflection
  72. </A></li>
  73. <LI> <B>Messages sorted by:</B>
  74. <a href="date.html#25943">[ date ]</a>
  75. <a href="thread.html#25943">[ thread ]</a>
  76. <a href="subject.html#25943">[ subject ]</a>
  77. <a href="author.html#25943">[ 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>