1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-27 03:51:10 +00: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(())
} }
} }