[tor-commits] [websocket/master] Wording on buffering.
dcf at torproject.org
dcf at torproject.org
Thu Oct 3 16:36:10 UTC 2013
commit 066879f0c449b344f749b251585457d7adab3225
Author: David Fifield <david at bamsoftware.com>
Date: Thu May 3 00:24:44 2012 -0700
Wording on buffering.
---
doc/websocket-transport.txt | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/doc/websocket-transport.txt b/doc/websocket-transport.txt
index 45de461..65b4e9c 100644
--- a/doc/websocket-transport.txt
+++ b/doc/websocket-transport.txt
@@ -176,13 +176,12 @@ Considerations specific to pluggable transports
messages SHOULD be sent in a single frame.
Endpoints MUST limit the size of messages and frames that they will
- buffer. Upon receiving such a message (when the sum of the length of
- already-buffered data and the length of the next frame exceeds the
- limit), the endpoint MUST close the connection and SHOULD do so with a
- status code of 1009 (see RFC 6455 section 7.4.1). Endpoints MUST be
- capable of receiving messages containing 1500 octets of binary data;
- this may require buffering up to 2026 bytes of UTF-8âencoded base64
- text.
+ buffer. When the sum of the length of already-buffered data and the
+ length of the next frame exceeds the limit, the endpoint MUST close
+ the connection and SHOULD do so with a status code of 1009 (see RFC
+ 6455 section 7.4.1). Endpoints MUST be capable of receiving messages
+ containing up to 1500 octets of binary data; this may require
+ buffering up to 2026 bytes of UTF-8âencoded base64 text.
Questions/extensions
More information about the tor-commits
mailing list