mirror of
https://github.com/Noratrieb/icefun.git
synced 2026-01-14 21:05:00 +01:00
loop
This commit is contained in:
parent
b4ac40748d
commit
b3d4232a00
7 changed files with 0 additions and 754 deletions
|
|
@ -5,7 +5,6 @@ use std::time::Duration;
|
|||
use socket2::TcpKeepalive;
|
||||
use tokio::net::TcpListener;
|
||||
use tokio::time::Sleep;
|
||||
|
||||
use crate::common::{task, Pin, Poll};
|
||||
#[allow(unreachable_pub)]
|
||||
pub use self::addr_stream::AddrStream;
|
||||
|
|
@ -294,49 +293,3 @@ mod addr_stream {
|
|||
}
|
||||
}
|
||||
}
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::time::Duration;
|
||||
use crate::server::tcp::TcpKeepaliveConfig;
|
||||
#[test]
|
||||
fn no_tcp_keepalive_config() {
|
||||
loop {}
|
||||
}
|
||||
#[test]
|
||||
fn tcp_keepalive_time_config() {
|
||||
loop {}
|
||||
}
|
||||
#[cfg(
|
||||
any(
|
||||
target_os = "android",
|
||||
target_os = "dragonfly",
|
||||
target_os = "freebsd",
|
||||
target_os = "fuchsia",
|
||||
target_os = "illumos",
|
||||
target_os = "linux",
|
||||
target_os = "netbsd",
|
||||
target_vendor = "apple",
|
||||
windows,
|
||||
)
|
||||
)]
|
||||
#[test]
|
||||
fn tcp_keepalive_interval_config() {
|
||||
loop {}
|
||||
}
|
||||
#[cfg(
|
||||
any(
|
||||
target_os = "android",
|
||||
target_os = "dragonfly",
|
||||
target_os = "freebsd",
|
||||
target_os = "fuchsia",
|
||||
target_os = "illumos",
|
||||
target_os = "linux",
|
||||
target_os = "netbsd",
|
||||
target_vendor = "apple",
|
||||
)
|
||||
)]
|
||||
#[test]
|
||||
fn tcp_keepalive_retries_config() {
|
||||
loop {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue