1
0
Fork 0

mgmt: log incoming connection

This commit is contained in:
Sebastien Bourdeauducq 2020-07-16 11:36:26 +08:00
parent 0c6db0d12c
commit b62fbce826
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ async fn get_logger_buffer() -> LogBufferRef<'static> {
async fn handle_connection(stream: &mut TcpStream, pull_id: Rc<RefCell<u32>>) -> Result<(), Error> {
Request::read_magic(stream).await?;
info!("received connection");
loop {
let req = Request::read_from(stream).await;