mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 19:41:12 +00:00
Correct IoStream::set_keepalive for UDS (#564)
Enable uds feature in tests
This commit is contained in:
parent
42d5d48e71
commit
5f91f5eda6
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ script:
|
||||||
cargo check --features rust-tls
|
cargo check --features rust-tls
|
||||||
cargo check --features ssl
|
cargo check --features ssl
|
||||||
cargo check --features tls
|
cargo check --features tls
|
||||||
cargo test --features="ssl,tls,rust-tls" -- --nocapture
|
cargo test --features="ssl,tls,rust-tls,uds" -- --nocapture
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
||||||
|
|
|
@ -334,7 +334,7 @@ impl IoStream for ::tokio_uds::UnixStream {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
fn set_keepalive(&mut self, _nodelay: bool) -> io::Result<()> {
|
fn set_keepalive(&mut self, _dur: Option<time::Duration>) -> io::Result<()> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue