websocket13
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -493,2 +493,6 @@ var WS13 = require('./index.js'); | ||
// What is queueId? It's a placeholder. We want to retain the order guarantee, but we still need to pass this message | ||
// to extensions. Those might not call back in order. Consequently, we "reserve the message's place" in the outgoing | ||
// queue with a number. That array position will be replaced with the actual message when it's ready. | ||
if (queueId >= 4294967295) { | ||
@@ -598,3 +602,2 @@ // just for fun. this is unlikely to ever really happen. 4294967295 is max uint32 and is totally arbitrary, we can go up to 2^53 | ||
// This is a placeholder, so we're done | ||
console.log("Abandonining queue as we hit " + frames[0]); | ||
break; | ||
@@ -601,0 +604,0 @@ } |
{ | ||
"name": "websocket13", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Simple WebSocket protocol 13 client with no native or heavy dependencies", | ||
@@ -5,0 +5,0 @@ "author": "Alexander Corn <mckay@doctormckay.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98029
1293