cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
504 stars 82 forks source link

Update ch20-03 final listing #139

Open graemer957 opened 7 months ago

graemer957 commented 7 months ago

Looks like the final listing from the 2018 edition of the book to me, based on the use of read and flush on the stream.

Updated to match handle_connection from no-listing-06-fix-threadpool-drop