mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
Correct IoStream::set_keepalive for UDS (#564)
Enable uds feature in tests
This commit is contained in:
parent
42d5d48e71
commit
5f91f5eda6
@ -35,7 +35,7 @@ script:
|
||||
cargo check --features rust-tls
|
||||
cargo check --features ssl
|
||||
cargo check --features tls
|
||||
cargo test --features="ssl,tls,rust-tls" -- --nocapture
|
||||
cargo test --features="ssl,tls,rust-tls,uds" -- --nocapture
|
||||
fi
|
||||
- |
|
||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
||||
|
@ -334,7 +334,7 @@ impl IoStream for ::tokio_uds::UnixStream {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn set_keepalive(&mut self, _nodelay: bool) -> io::Result<()> {
|
||||
fn set_keepalive(&mut self, _dur: Option<time::Duration>) -> io::Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user