From 571bab25347150ed8719abcd0becf16fa0e7b46c Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 12 Dec 2020 19:54:47 -0700 Subject: [PATCH] print send buffers --- src/common/mainloop/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mainloop/client.rs b/src/common/mainloop/client.rs index 32562e9..d99f1c9 100644 --- a/src/common/mainloop/client.rs +++ b/src/common/mainloop/client.rs @@ -119,7 +119,7 @@ async fn send_pkt(socket: Arc Result<(), NetworkError> { let buf = pkt.as_bytes(); - //println!("sndbuf: {:?}", buf); + trace!("[send buf] {:?}", buf); let cbuf = cipher.lock().await.encrypt(&buf)?; let mut ssock = &*socket; ssock.write_all(&cbuf).await?;