fix listers

This commit is contained in:
Jun Kurihara 2022-07-07 17:42:20 +09:00
commit 5731ba908b
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
3 changed files with 14 additions and 18 deletions

View file

@ -99,10 +99,7 @@ where
let listener_service = async {
// let tcp_listener = TcpListener::bind(&self.listening_on).await?;
let tcp_listener = self.try_bind_tcp_listener().await?;
info!(
"Start TCP proxy serving with HTTP request for configured host names: {:?}",
tcp_listener.local_addr()?
);
info!("Start TCP proxy serving with HTTP request for configured host names");
while let Ok((stream, _client_addr)) = tcp_listener.accept().await {
self
.clone()