[Pkg-javascript-commits] [sockjs-client] 158/434: A note on SockJS limitations
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository sockjs-client.
commit 1bde9be0c67563beb57f8e90554eb9e84d0245fd
Author: Marek Majkowski <majek04 at gmail.com>
Date: Wed Sep 21 15:55:50 2011 +0100
A note on SockJS limitations
---
README.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/README.md b/README.md
index 4ab281f..f8d90c4 100644
--- a/README.md
+++ b/README.md
@@ -120,6 +120,17 @@ Where `options` is a hash which can contain:
<dd></dd>
</dl>
+Although the 'SockJS' object tries to emulate the 'WebSocket'
+behaviour, it's impossible to support all features. One of the
+important SockJS limitations is the fact that you're not allowed to
+open more than one SockJS connection at a time. This limitation is
+caused by a in-browser limit of outgoing connections - usually
+browsers don't allow opening more than two outgoing
+connections. Single SockJS session requires those two connections -
+one for downloading data, other for sending messages. Second SockJS
+session opened at the same time would most probably block and can
+result in both sessions timing out.
+
Supported transports (#1)
-------------------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git
More information about the Pkg-javascript-commits
mailing list