/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
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] WebSocket bufferedAmount includes overhead or not
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <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">
- <META NAME="robots" CONTENT="index,nofollow">
- <style type="text/css">
- pre {
- white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
- }
- </style>
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="067902.html">
- <LINK REL="Next" HREF="067904.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] WebSocket bufferedAmount includes overhead or not</H1>
- <!--htdig_noindex-->
- <B>Anne van Kesteren</B>
- <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"
- TITLE="[whatwg] WebSocket bufferedAmount includes overhead or not">annevk at opera.com
- </A><BR>
- <I>Thu Mar 25 08:55:32 PDT 2010</I>
- <P><UL>
- <LI>Previous message: <A HREF="067902.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="067904.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#67903">[ date ]</a>
- <a href="thread.html#67903">[ thread ]</a>
- <a href="subject.html#67903">[ subject ]</a>
- <a href="author.html#67903">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>On Thu, 25 Mar 2010 16:35:19 +0100, Olli Pettay <<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">Olli.Pettay at helsinki.fi</A>>
- wrote:
- ><i> On 3/25/10 4:25 PM, Niklas Beischer wrote:
- </I>>><i> Easy. The bufferedAmount is: "The amount of bytes waiting to be
- </I>>><i> transferred, including protocol overhead".
- </I>><i> That doesn't define exactly what the bufferedAmount means and what
- </I>><i> kinds of values are expected.
- </I>><i> What I'd expect the API to tell me is, for example, that if I call
- </I>><i> ws.send(foo), and nothing is yet sent over the network, what is the
- </I>><i> exact value of bufferedAmount.
- </I>><i> Again, I'd really wish to keep the API to work reasonable similar
- </I>><i> way as XHR+progress events where protocol overhead isn't reported.
- </I>
- Why? Progress events are completely different from this. This is about not
- saturating the network with too much data; it makes sense if the actual
- amount of data that is going to hit the network is known. (Yes, I changed
- my mind.)
- --
- Anne van Kesteren
- <A HREF="http://annevankesteren.nl/">http://annevankesteren.nl/</A>
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="067902.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="067904.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#67903">[ date ]</a>
- <a href="thread.html#67903">[ thread ]</a>
- <a href="subject.html#67903">[ subject ]</a>
- <a href="author.html#67903">[ author ]</a>
- </LI>
- </UL>
- <hr>
- <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
- mailing list</a><br>
- <!--/htdig_noindex-->
- </body></html>