fix: append newline at the end
This commit is contained in:
parent
6a02133b7b
commit
df81e1a2d4
@ -19,5 +19,6 @@ fn handle_connection(mut stream: TcpStream) {
|
|||||||
|
|
||||||
stream.write(response.as_bytes()).unwrap();
|
stream.write(response.as_bytes()).unwrap();
|
||||||
stream.write(remote_addr.as_bytes()).unwrap();
|
stream.write(remote_addr.as_bytes()).unwrap();
|
||||||
|
stream.write("\r\n".as_bytes()).unwrap();
|
||||||
stream.flush().unwrap();
|
stream.flush().unwrap();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user