www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 2efd7121b8537d3953ebf4fe9028686a9f70d20b
parent 72feaab6f4f294ee77a8d19768de44306bdde48a
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  2 Jul 2017 01:32:47 -0400

Only skip retry for WebSocket errors between 4400 and 4499

Diffstat:
Mchrome/content/zotero/xpcom/sync/syncStreamer.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/sync/syncStreamer.js b/chrome/content/zotero/xpcom/sync/syncStreamer.js @@ -139,7 +139,7 @@ Zotero.Sync.Streamer_Module.prototype = { } if (this._reconnect) { - if (event.code >= 4000) { + if (event.code >= 4400 && event.code < 4500) { Zotero.debug("Not reconnecting to WebSocket due to client error"); return; }