Fallout from stabilization
This commit is contained in:
@@ -120,10 +120,12 @@
|
||||
//! for stream in acceptor.incoming() {
|
||||
//! match stream {
|
||||
//! Err(e) => { /* connection failed */ }
|
||||
//! Ok(stream) => Thread::spawn(move|| {
|
||||
//! // connection succeeded
|
||||
//! handle_client(stream)
|
||||
//! }).detach()
|
||||
//! Ok(stream) => {
|
||||
//! Thread::spawn(move|| {
|
||||
//! // connection succeeded
|
||||
//! handle_client(stream)
|
||||
//! });
|
||||
//! }
|
||||
//! }
|
||||
//! }
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user