diff --git a/Cargo.toml b/Cargo.toml index b8701e76..6f9f0a3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,4 +64,4 @@ libc = "^0.2.7" [dependencies.coio] git = "https://github.com/zonyitoo/coio-rs.git" -branch = "feature-timeout" +branch = "io-timeouts" diff --git a/src/relay/tcprelay/local.rs b/src/relay/tcprelay/local.rs index cf6b04b0..b81a9254 100644 --- a/src/relay/tcprelay/local.rs +++ b/src/relay/tcprelay/local.rs @@ -335,7 +335,7 @@ impl TcpRelayLocal { let mut cached_proxy: BTreeMap = BTreeMap::new(); for s in acceptor.incoming() { - let mut stream = match s { + let stream = match s { Ok((s, addr)) => { debug!("Got connection from client {:?}", addr); s