cleanup
This commit is contained in:
parent
1f78c6d5a7
commit
bab2c36f8a
3 changed files with 5 additions and 4 deletions
|
@ -38,8 +38,8 @@ pub(super) async fn propagate_read(
|
|||
};
|
||||
|
||||
let read_len = match read_len {
|
||||
Ok(read_len) if read_len > 0 => read_len,
|
||||
Ok(_) => break,
|
||||
Ok(0) => break,
|
||||
Ok(read_len) => read_len,
|
||||
Err(err) => {
|
||||
warn!(
|
||||
"error while reading incoming bytes from local tx tunnel {}",
|
||||
|
|
|
@ -11,6 +11,7 @@ use hyper::server::conn::Http;
|
|||
use hyper::service::service_fn;
|
||||
use hyper::{http, Body, Request, Response, StatusCode};
|
||||
use jsonwebtoken::TokenData;
|
||||
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
use tokio::net::{TcpListener, UdpSocket};
|
||||
use tokio::sync::oneshot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue