/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-March/025600.html

https://github.com/whatwg/whatwg.org · HTML · 91 lines · 80 code · 4 blank · 7 comment · 0 complexity · 29ce09500c83e1351ba6ae00a790541c MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] WebSocket bufferedAmount includes overhead or not.
  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%20bufferedAmount%20includes%20overhead%20or%20not.&In-Reply-To=%3C4BA88C13.4010908%40helsinki.fi%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="025557.html">
  11. <LINK REL="Next" HREF="025601.html">
  12. </HEAD>
  13. <BODY BGCOLOR="#ffffff">
  14. <H1>[whatwg] WebSocket bufferedAmount includes overhead or not.</H1>
  15. <!--htdig_noindex-->
  16. <B>Olli Pettay</B>
  17. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20bufferedAmount%20includes%20overhead%20or%20not.&In-Reply-To=%3C4BA88C13.4010908%40helsinki.fi%3E"
  18. TITLE="[whatwg] WebSocket bufferedAmount includes overhead or not.">Olli.Pettay at helsinki.fi
  19. </A><BR>
  20. <I>Tue Mar 23 02:38:27 PDT 2010</I>
  21. <P><UL>
  22. <LI>Previous message: <A HREF="025557.html">[whatwg] WebSocket bufferedAmount includes overhead or not.
  23. </A></li>
  24. <LI>Next message: <A HREF="025601.html">[whatwg] WebSocket bufferedAmount includes overhead or not.
  25. </A></li>
  26. <LI> <B>Messages sorted by:</B>
  27. <a href="date.html#25600">[ date ]</a>
  28. <a href="thread.html#25600">[ thread ]</a>
  29. <a href="subject.html#25600">[ subject ]</a>
  30. <a href="author.html#25600">[ author ]</a>
  31. </LI>
  32. </UL>
  33. <HR>
  34. <!--/htdig_noindex-->
  35. <!--beginarticle-->
  36. <PRE>On 3/18/10 2:15 AM, Alexey Proskuryakov wrote:
  37. &gt;<i>
  38. </I>&gt;<i> On 05.03.2010, at 15:32, Alexey Proskuryakov wrote:
  39. </I>&gt;<i>
  40. </I>&gt;&gt;&gt;&gt;<i> for something no one should care about, as you
  41. </I>&gt;&gt;&gt;&gt;<i> implied above.
  42. </I>&gt;&gt;&gt;<i> From API perspective I do care. Web developers shouldn't need to know
  43. </I>&gt;&gt;&gt;<i> about the protocol, yet (s)he should be able to understand what
  44. </I>&gt;&gt;&gt;<i> bufferedAmount means.
  45. </I>&gt;&gt;<i>
  46. </I>&gt;&gt;<i> An explanation like &quot;it's how much data is buffered to be sent over
  47. </I>&gt;&gt;<i> network&quot; seems adequate to me.
  48. </I>&gt;<i>
  49. </I>&gt;<i>
  50. </I>&gt;<i> We have a suggested patch that implements the proposed new behavior for
  51. </I>&gt;<i> WebKit now, but I think that it adds unnecessary complexity, and puts
  52. </I>&gt;<i> limits on how we can refactor the code in the future. We need to
  53. </I>&gt;<i> remember frame boundaries for much longer, making it difficult to
  54. </I>&gt;<i> interface with general purpose networking code.
  55. </I>&gt;<i>
  56. </I>&gt;<i> I'd prefer sticking to the previously specified behavior.
  57. </I>&gt;<i>
  58. </I>&gt;<i> - WBR, Alexey Proskuryakov
  59. </I>&gt;<i>
  60. </I>&gt;<i>
  61. </I>
  62. And I certainly prefer the current behavior, where the API is not
  63. so tightly bound to the protocol, and where the bufferedAmount is
  64. handled more close to what progress events do with XMLHttpRequest.
  65. -Olli
  66. </PRE>
  67. <!--endarticle-->
  68. <!--htdig_noindex-->
  69. <HR>
  70. <P><UL>
  71. <!--threads-->
  72. <LI>Previous message: <A HREF="025557.html">[whatwg] WebSocket bufferedAmount includes overhead or not.
  73. </A></li>
  74. <LI>Next message: <A HREF="025601.html">[whatwg] WebSocket bufferedAmount includes overhead or not.
  75. </A></li>
  76. <LI> <B>Messages sorted by:</B>
  77. <a href="date.html#25600">[ date ]</a>
  78. <a href="thread.html#25600">[ thread ]</a>
  79. <a href="subject.html#25600">[ subject ]</a>
  80. <a href="author.html#25600">[ author ]</a>
  81. </LI>
  82. </UL>
  83. <hr>
  84. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  85. mailing list</a><br>
  86. <!--/htdig_noindex-->
  87. </body></html>