Skip to content

Commit

Permalink
Correct IoStream::set_keepalive for UDS (actix#564)
Browse files Browse the repository at this point in the history
Enable uds feature in tests
  • Loading branch information
DoumanAsh authored Oct 26, 2018
1 parent 42d5d48 commit 5f91f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
}
Expand Down

0 comments on commit 5f91f5e

Please sign in to comment.