mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-02 01:31:57 +02:00
various cleanups
This commit is contained in:
@@ -267,6 +267,7 @@ impl<H: HttpHandler, U, V> HttpServer<TcpStream, net::SocketAddr, H, U>
|
||||
};
|
||||
let msg = IoStream{
|
||||
io: socket.into_tcp_stream(), peer: Some(addr), http2: false};
|
||||
println!("next: {}", next);
|
||||
wrks[next].unbounded_send(msg).expect("worker thread died");
|
||||
next = (next + 1) % wrks.len();
|
||||
}
|
||||
|
Reference in New Issue
Block a user