[Pkg-javascript-commits] [sockjs-client] 124/434: Prevent re-running chunking due to timeout.
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:08 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 bed27f5b4a628a624b144d86cc280217b9712d52
Author: Marek Majkowski <majek04 at gmail.com>
Date: Mon Sep 5 18:04:14 2011 +0100
Prevent re-running chunking due to timeout.
---
lib/sockjs.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/sockjs.js b/lib/sockjs.js
index a35b3fb..77be024 100644
--- a/lib/sockjs.js
+++ b/lib/sockjs.js
@@ -148,6 +148,8 @@ SockJS.prototype._try_next_protocol = function(close_event) {
that._options.chunking === undefined) {
that._protocols.unshift(protocol);
that.protocol = 'chunking-test';
+ // Assert false, in case test timeouts.
+ that._options.chunking = false;
chunkingTest(that._base_url, function(chunking) {
that._options.chunking = chunking;
that._try_next_protocol();
--
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