fix: append newline at the end

This commit is contained in:
椰子 2023-01-07 17:06:10 +08:00
parent 6a02133b7b
commit df81e1a2d4

View File

@ -19,5 +19,6 @@ fn handle_connection(mut stream: TcpStream) {
stream.write(response.as_bytes()).unwrap();
stream.write(remote_addr.as_bytes()).unwrap();
stream.write("\r\n".as_bytes()).unwrap();
stream.flush().unwrap();
}