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

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