Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3394191
D9443.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
407 B
Referenced Files
None
Subscribers
None
D9443.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9443: [keyserver] Avoid "WebSocket is not open" error
Attached
Detach File
Event Timeline
Log In to Comment