Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa10f0d

Browse files
committed
Support AIX keepalive
1 parent3afcc3d commitaa10f0d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎tokio-postgres/src/keepalive.rs‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@ impl From<&KeepaliveConfig> for TcpKeepalive {
1212
fnfrom(keepalive_config:&KeepaliveConfig) ->Self{
1313
letmut tcp_keepalive =Self::new().with_time(keepalive_config.idle);
1414

15-
#[cfg(not(any(target_os ="redox", target_os ="solaris", target_os ="openbsd")))]
15+
#[cfg(not(any(
16+
target_os ="aix",
17+
target_os ="redox",
18+
target_os ="solaris",
19+
target_os ="openbsd"
20+
)))]
1621
ifletSome(interval) = keepalive_config.interval{
1722
tcp_keepalive = tcp_keepalive.with_interval(interval);
1823
}
1924

2025
#[cfg(not(any(
26+
target_os ="aix",
2127
target_os ="redox",
2228
target_os ="solaris",
2329
target_os ="windows",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp