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

https://github.com/whatwg/whatwg.org · HTML · 87 lines · 75 code · 5 blank · 7 comment · 0 complexity · a93a1a6e79d8cd069382eab793fe5050 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//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=%3Cop.u94ruunw64w2qv%40annevk-t60%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="067902.html">
  16. <LINK REL="Next" HREF="067904.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] WebSocket bufferedAmount includes overhead or not</H1>
  20. <!--htdig_noindex-->
  21. <B>Anne van Kesteren</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20bufferedAmount%20includes%20overhead%20or%20not&In-Reply-To=%3Cop.u94ruunw64w2qv%40annevk-t60%3E"
  23. TITLE="[whatwg] WebSocket bufferedAmount includes overhead or not">annevk at opera.com
  24. </A><BR>
  25. <I>Thu Mar 25 08:55:32 PDT 2010</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="067902.html">[whatwg] WebSocket bufferedAmount includes overhead or not
  28. </A></li>
  29. <LI>Next message: <A HREF="067904.html">[whatwg] WebSocket bufferedAmount includes overhead or not
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#67903">[ date ]</a>
  33. <a href="thread.html#67903">[ thread ]</a>
  34. <a href="subject.html#67903">[ subject ]</a>
  35. <a href="author.html#67903">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>On Thu, 25 Mar 2010 16:35:19 +0100, Olli Pettay &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">Olli.Pettay at helsinki.fi</A>&gt;
  42. wrote:
  43. &gt;<i> On 3/25/10 4:25 PM, Niklas Beischer wrote:
  44. </I>&gt;&gt;<i> Easy. The bufferedAmount is: &quot;The amount of bytes waiting to be
  45. </I>&gt;&gt;<i> transferred, including protocol overhead&quot;.
  46. </I>&gt;<i> That doesn't define exactly what the bufferedAmount means and what
  47. </I>&gt;<i> kinds of values are expected.
  48. </I>&gt;<i> What I'd expect the API to tell me is, for example, that if I call
  49. </I>&gt;<i> ws.send(foo), and nothing is yet sent over the network, what is the
  50. </I>&gt;<i> exact value of bufferedAmount.
  51. </I>&gt;<i> Again, I'd really wish to keep the API to work reasonable similar
  52. </I>&gt;<i> way as XHR+progress events where protocol overhead isn't reported.
  53. </I>
  54. Why? Progress events are completely different from this. This is about not
  55. saturating the network with too much data; it makes sense if the actual
  56. amount of data that is going to hit the network is known. (Yes, I changed
  57. my mind.)
  58. --
  59. Anne van Kesteren
  60. <A HREF="http://annevankesteren.nl/">http://annevankesteren.nl/</A>
  61. </PRE>
  62. <!--endarticle-->
  63. <!--htdig_noindex-->
  64. <HR>
  65. <P><UL>
  66. <!--threads-->
  67. <LI>Previous message: <A HREF="067902.html">[whatwg] WebSocket bufferedAmount includes overhead or not
  68. </A></li>
  69. <LI>Next message: <A HREF="067904.html">[whatwg] WebSocket bufferedAmount includes overhead or not
  70. </A></li>
  71. <LI> <B>Messages sorted by:</B>
  72. <a href="date.html#67903">[ date ]</a>
  73. <a href="thread.html#67903">[ thread ]</a>
  74. <a href="subject.html#67903">[ subject ]</a>
  75. <a href="author.html#67903">[ author ]</a>
  76. </LI>
  77. </UL>
  78. <hr>
  79. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  80. mailing list</a><br>
  81. <!--/htdig_noindex-->
  82. </body></html>