/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-July/027189.html

https://github.com/whatwg/whatwg.org · HTML · 117 lines · 65 code · 45 blank · 7 comment · 0 complexity · a24add20c9ad98b686387207251618eb MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] WebSocket restriction on the server's subprotocol
  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%20restriction%20on%20the%20server%27s%20subprotocol&In-Reply-To=%3Cop.vf4wjqakidj3kv%40dhcp-190.linkoping.osa%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="027188.html">
  16. <LINK REL="Next" HREF="027245.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] WebSocket restriction on the server's subprotocol</H1>
  20. <!--htdig_noindex-->
  21. <B>Simon Pieters</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20restriction%20on%20the%20server%27s%20subprotocol&In-Reply-To=%3Cop.vf4wjqakidj3kv%40dhcp-190.linkoping.osa%3E"
  23. TITLE="[whatwg] WebSocket restriction on the server's subprotocol">simonp at opera.com
  24. </A><BR>
  25. <I>Tue Jul 20 01:58:28 PDT 2010</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="027188.html">[whatwg] Canvas: Rendering radial gradients beyond the terminal stops
  28. </A></li>
  29. <LI>Next message: <A HREF="027245.html">[whatwg] WebSockets feedback
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#27189">[ date ]</a>
  33. <a href="thread.html#27189">[ thread ]</a>
  34. <a href="subject.html#27189">[ subject ]</a>
  35. <a href="author.html#27189">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>The WebSocket spec restricts the value of the subprotocol that the client
  42. is allowed to send to the server (see step 3 in the WebSocket()
  43. constructor algorithm). However there's no restriction on the server side
  44. (see step 2 of Sending the server's opening handshake). The client could
  45. not have asked for any subprotocol, but the server can still respond with
  46. a subprotocol, and the connection will be accepted.
  47. Shouldn't the server have the same restriction as the client?
  48. --
  49. Simon Pieters
  50. Opera Software
  51. </PRE>
  52. <!--endarticle-->
  53. <!--htdig_noindex-->
  54. <HR>
  55. <P><UL>
  56. <!--threads-->
  57. <LI>Previous message: <A HREF="027188.html">[whatwg] Canvas: Rendering radial gradients beyond the terminal stops
  58. </A></li>
  59. <LI>Next message: <A HREF="027245.html">[whatwg] WebSockets feedback
  60. </A></li>
  61. <LI> <B>Messages sorted by:</B>
  62. <a href="date.html#27189">[ date ]</a>
  63. <a href="thread.html#27189">[ thread ]</a>
  64. <a href="subject.html#27189">[ subject ]</a>
  65. <a href="author.html#27189">[ author ]</a>
  66. </LI>
  67. </UL>
  68. <hr>
  69. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  70. mailing list</a><br>
  71. <!--/htdig_noindex-->
  72. </body></html>