mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-22 06:47:56 +01:00
Correct that
This commit is contained in:
parent
88721ed5f0
commit
9a6b338070
@ -172,8 +172,7 @@ fn main() -> Result<(), Error> {
|
|||||||
let listeners = listeners_s.await;
|
let listeners = listeners_s.await;
|
||||||
let incoming = stream::select_all(listeners.iter().map(|l| l.incoming()));
|
let incoming = stream::select_all(listeners.iter().map(|l| l.incoming()));
|
||||||
|
|
||||||
// For each incoming connection start a new task to handle it and throw it on the thread
|
// For each incoming connection start a new task to handle it
|
||||||
// pool
|
|
||||||
let handle_sockets = incoming.map(|socket| {
|
let handle_sockets = incoming.map(|socket| {
|
||||||
// incoming.next() is an error when the underlying `accept` call yielded an error
|
// incoming.next() is an error when the underlying `accept` call yielded an error
|
||||||
// In POSIX those are protocol errors we can't really handle, so we just log the error
|
// In POSIX those are protocol errors we can't really handle, so we just log the error
|
||||||
|
Loading…
Reference in New Issue
Block a user