mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 21:11:31 +08:00
Update ch20-03-graceful-shutdown-and-cleanup.md
This commit is contained in:
parent
5f225daae8
commit
f6fe40b11b
@ -314,7 +314,7 @@ fn main() {
|
||||
}
|
||||
|
||||
fn handle_connection(mut stream: TcpStream) {
|
||||
let mut buffer = [0; 512];
|
||||
let mut buffer = [0; 1024];
|
||||
stream.read(&mut buffer).unwrap();
|
||||
|
||||
let get = b"GET / HTTP/1.1\r\n";
|
||||
|
Loading…
Reference in New Issue
Block a user