refactor(lib): improve client and h1 logs

This commit is contained in:
Sean McArthur
2019-02-15 15:58:35 -08:00
parent 877606d5c8
commit c0e08a41cc
4 changed files with 20 additions and 9 deletions

View File

@@ -528,6 +528,7 @@ where C: Connect + Sync + 'static,
.http2_only(is_h2)
.handshake(io)
.and_then(move |(tx, conn)| {
trace!("handshake complete, spawning background dispatcher task");
let bg = executor.execute(conn.map_err(|e| {
debug!("client connection error: {}", e)
}));