From 5f225daae8da1a8e2a6ddd68c31a568b4c0f77d8 Mon Sep 17 00:00:00 2001 From: Zehua Zou <41586196+HuaHuaY@users.noreply.github.com> Date: Sun, 7 Feb 2021 01:46:26 +0800 Subject: [PATCH] Update ch20-01-single-threaded.md --- src/ch20-01-single-threaded.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch20-01-single-threaded.md b/src/ch20-01-single-threaded.md index 3140785..f177523 100644 --- a/src/ch20-01-single-threaded.md +++ b/src/ch20-01-single-threaded.md @@ -360,7 +360,7 @@ fn handle_connection(mut stream: TcpStream) { // --snip-- 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";