1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00

Correct IoStream::set_keepalive for UDS (#564)

Enable uds feature in tests
This commit is contained in:
Douman 2018-10-26 10:59:06 +03:00 committed by GitHub
parent 42d5d48e71
commit 5f91f5eda6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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(())
} }
} }