Skip to content

Commit

Permalink
Merge pull request #576 from steelywing/patch-541
Browse files Browse the repository at this point in the history
Fix Windows server does not full respond issue (#541)
  • Loading branch information
Nukesor authored Nov 23, 2024
2 parents 22186dd + 132801c commit 9a402d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pueue_lib/src/network/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ pub async fn send_bytes(payload: &[u8], stream: &mut GenericStream) -> Result<()
.map_err(|err| Error::IoError("sending payload chunk".to_string(), err))?;
}

stream.flush().await?;

Ok(())
}

Expand Down

0 comments on commit 9a402d5

Please sign in to comment.