1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 18:09:22 +02: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
2 changed files with 2 additions and 2 deletions

View File

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