Skip to content

Commit

Permalink
fix(server): garbage-collect partial writes
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmarc committed May 4, 2024
1 parent b588f19 commit a095994
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mm-server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,9 @@ impl Server {
client
.partial_reads
.retain(|sid, _| !client.conn.stream_finished(*sid));
client
.partial_writes
.retain(|sid, _| !client.conn.stream_finished(*sid));

Ok(())
}
Expand Down

0 comments on commit a095994

Please sign in to comment.