/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-April/068044.html
https://github.com/whatwg/whatwg.org · HTML · 84 lines · 69 code · 8 blank · 7 comment · 0 complexity · 7acff47a6ba35a3f48dc06744ec319ca 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=%3C4BB5613D.2060603%40mit.edu%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="068032.html">
- <LINK REL="Next" HREF="068060.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] WebSocket bufferedAmount includes overhead or not</H1>
- <!--htdig_noindex-->
- <B>Boris Zbarsky</B>
- <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20bufferedAmount%20includes%20overhead%20or%20not&In-Reply-To=%3C4BB5613D.2060603%40mit.edu%3E"
- TITLE="[whatwg] WebSocket bufferedAmount includes overhead or not">bzbarsky at MIT.EDU
- </A><BR>
- <I>Thu Apr 1 20:15:09 PDT 2010</I>
- <P><UL>
- <LI>Previous message: <A HREF="068032.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="068060.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#68044">[ date ]</a>
- <a href="thread.html#68044">[ thread ]</a>
- <a href="subject.html#68044">[ subject ]</a>
- <a href="author.html#68044">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>On 3/31/10 6:57 PM, Jonas Sicking wrote:
- ><i> I would expect that send() is allowed to start streaming data over the
- </I>><i> network as soon as it can, but only update bufferedAmount from the
- </I>><i> event loop.
- </I>
- Maybe I'm not being clear. Let's say bufferedAmount were to reflect the
- number of UTF-8-encoded bytes to be sent, for the sake of argument.
- I wait until bufferedAmount is 0, then call send("My text").
- What are possible values of bufferedAmount if I examine it right after
- the send() call? Is 0 a valid possible value? What about 1? 2? 3? 4?
- 5? 6? 7?
- Presumably the value will be somewhere in the integer range [0,7],
- right? Or will it always be 7 after that call in that situation?
- -Boris
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="068032.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="068060.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#68044">[ date ]</a>
- <a href="thread.html#68044">[ thread ]</a>
- <a href="subject.html#68044">[ subject ]</a>
- <a href="author.html#68044">[ 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>