Skip to content

Commit 9919381

Browse files
committed
add check log
1 parent a44a69f commit 9919381

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/proxy/idle_pool.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ impl IdlePool {
121121
let conn = self.pool.get_mut(i).unwrap();
122122
if conn.token() == event.token() {
123123
if event.readiness().is_readable() {
124-
conn.do_read();
124+
if let Some(_) = conn.do_read() {
125+
log::error!("found data in https handshake phase");
126+
}
125127
}
126128
if event.readiness().is_writable() {
127129
conn.do_send();

0 commit comments

Comments
 (0)