Page MenuHomePhabricator

D9443.id.diff
No OneTemporary

D9443.id.diff

diff --git a/keyserver/src/socket/socket.js b/keyserver/src/socket/socket.js
--- a/keyserver/src/socket/socket.js
+++ b/keyserver/src/socket/socket.js
@@ -407,6 +407,11 @@
}
const compressionResult = await compressMessage(stringMessage);
+
+ if (this.ws.readyState !== 1) {
+ return;
+ }
+
if (!compressionResult.compressed) {
this.ws.send(stringMessage);
return;

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 6:10 PM (5 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2605762
Default Alt Text
D9443.id.diff (407 B)

Event Timeline