end server msgs in \r\n

This commit is contained in:
Nikita Vilunov 2023-07-22 21:11:01 +02:00
parent 51d7278617
commit 50915afcf6
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ impl ServerMessage {
None => {} None => {}
} }
self.body.write_async(writer).await?; self.body.write_async(writer).await?;
writer.write_all(b"\n").await?; writer.write_all(b"\r\n").await?;
Ok(()) Ok(())
} }
} }