mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-04-20 03:38:03 +08:00
Update ch20-01-single-threaded.md
This commit is contained in:
parent
5c29c8d652
commit
5f225daae8
@ -360,7 +360,7 @@ fn handle_connection(mut stream: TcpStream) {
|
|||||||
// --snip--
|
// --snip--
|
||||||
|
|
||||||
fn handle_connection(mut stream: TcpStream) {
|
fn handle_connection(mut stream: TcpStream) {
|
||||||
# let mut buffer = [0; 512];
|
# let mut buffer = [0; 1024];
|
||||||
# stream.read(&mut buffer).unwrap();
|
# stream.read(&mut buffer).unwrap();
|
||||||
#
|
#
|
||||||
# let get = b"GET / HTTP/1.1\r\n";
|
# let get = b"GET / HTTP/1.1\r\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user