/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-March/068008.html
https://github.com/whatwg/whatwg.org · HTML · 80 lines · 69 code · 4 blank · 7 comment · 0 complexity · 607be92d9af490bbef2bc835c5dd5c25 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=%3C4BB2D5F1.3060106%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="067980.html">
- <LINK REL="Next" HREF="068009.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=%3C4BB2D5F1.3060106%40mit.edu%3E"
- TITLE="[whatwg] WebSocket bufferedAmount includes overhead or not">bzbarsky at MIT.EDU
- </A><BR>
- <I>Tue Mar 30 21:56:17 PDT 2010</I>
- <P><UL>
- <LI>Previous message: <A HREF="067980.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="068009.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#68008">[ date ]</a>
- <a href="thread.html#68008">[ thread ]</a>
- <a href="subject.html#68008">[ subject ]</a>
- <a href="author.html#68008">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>On 3/30/10 10:22 AM, Jonas Sicking wrote:
- ><i> Making it implementation dependent is likely to lead to website
- </I>><i> incompatibilities. Such as:
- </I>><i>
- </I>><i> ws = new WebSocket(...);
- </I>><i> ws.onopen = function() {
- </I>><i> ws.send(someString);
- </I>><i> if (ws.bufferedAmount> X) {
- </I>><i> doStuff();
- </I>
- Can bufferedAmount not change due to data actually hitting the network
- during the execution of this code? As in, will all the someString data
- be buffered immediately after that send() call?
- -Boris
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="067980.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="068009.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#68008">[ date ]</a>
- <a href="thread.html#68008">[ thread ]</a>
- <a href="subject.html#68008">[ subject ]</a>
- <a href="author.html#68008">[ 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>