use new io timeout branch

This commit is contained in:
Y. T. Chung
2016-04-29 09:38:23 +08:00
parent 3d8af1c00d
commit 12dc313194
2 changed files with 2 additions and 2 deletions

View File

@@ -64,4 +64,4 @@ libc = "^0.2.7"
[dependencies.coio]
git = "https://github.com/zonyitoo/coio-rs.git"
branch = "feature-timeout"
branch = "io-timeouts"

View File

@@ -335,7 +335,7 @@ impl TcpRelayLocal {
let mut cached_proxy: BTreeMap<String, SocketAddr> = 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