Skip to content

Commit

Permalink
Fix WS compression
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Sep 5, 2024
1 parent 40f11e6 commit 85ad601
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/connection/websocket/extend/compressed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ impl CompressedWebSocket {
let mut enc = ZlibEncoder::new(&mut compressed_cmd);

enc.write_all(byte_cmd).await?;
enc.close().await?;

self.0
.send(Message::Binary(compressed_cmd))
Expand Down

0 comments on commit 85ad601

Please sign in to comment.