aaaa
This commit is contained in:
parent
143c701620
commit
0f7b4e82ed
@ -111,11 +111,10 @@ impl FlowgateServer {
|
|||||||
|
|
||||||
threadpool.execute(move || {
|
threadpool.execute(move || {
|
||||||
let Ok(connection) = ServerConnection::new(config) else { return };
|
let Ok(connection) = ServerConnection::new(config) else { return };
|
||||||
|
debug!("{} open connection", addr);
|
||||||
let mut stream = StreamOwned::new(connection, stream);
|
let mut stream = StreamOwned::new(connection, stream);
|
||||||
|
|
||||||
while stream.conn.is_handshaking() {
|
let Ok(_) = stream.conn.complete_io(&mut stream.sock) else { debug!("{} close connection", addr); return };
|
||||||
let Ok(_) = stream.conn.complete_io(&mut stream.sock) else { return };
|
|
||||||
}
|
|
||||||
|
|
||||||
local_self.accept_stream(
|
local_self.accept_stream(
|
||||||
&mut stream,
|
&mut stream,
|
||||||
|
Loading…
Reference in New Issue
Block a user