File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ mod tcp_backend;
20
20
mod tls_server;
21
21
mod udp_backend;
22
22
23
- const MIN_INDEX : usize = 3 ;
23
+ const MIN_INDEX : usize = 2 ;
24
24
const MAX_INDEX : usize = usize:: MAX / CHANNEL_CNT ;
25
25
const CHANNEL_CNT : usize = 2 ;
26
26
const CHANNEL_PROXY : usize = 0 ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ impl TlsServer {
48
48
TlsServer {
49
49
listener,
50
50
config,
51
- next_id : 2 ,
51
+ next_id : MIN_INDEX ,
52
52
conns : HashMap :: new ( ) ,
53
53
}
54
54
}
@@ -127,7 +127,7 @@ impl TlsServer {
127
127
log:: debug!( "connection:{} closed, remove from pool" , index) ;
128
128
}
129
129
} else {
130
- log:: error!( "connection:{} not found" , index) ;
130
+ log:: error!( "connection:{} not found to do event " , index) ;
131
131
}
132
132
}
133
133
@@ -148,7 +148,7 @@ impl TlsServer {
148
148
log:: debug!( "connection:{} closed, remove from pool" , index) ;
149
149
}
150
150
} else {
151
- log:: error!( "connection:{} not found" , index) ;
151
+ log:: error!( "connection:{} not found to do resolve " , index) ;
152
152
}
153
153
}
154
154
You can’t perform that action at this time.
0 commit comments