File tree 1 file changed +14
-2
lines changed
src/client/legacy/connect
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -108,18 +108,29 @@ impl TcpKeepaliveConfig {
108
108
}
109
109
}
110
110
111
- #[ cfg( not( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ) ]
111
+ #[ cfg( not( any(
112
+ target_os = "aix" ,
113
+ target_os = "openbsd" ,
114
+ target_os = "redox" ,
115
+ target_os = "solaris"
116
+ ) ) ) ]
112
117
fn ka_with_interval ( ka : TcpKeepalive , interval : Duration , dirty : & mut bool ) -> TcpKeepalive {
113
118
* dirty = true ;
114
119
ka. with_interval ( interval)
115
120
}
116
121
117
- #[ cfg( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ]
122
+ #[ cfg( any(
123
+ target_os = "aix" ,
124
+ target_os = "openbsd" ,
125
+ target_os = "redox" ,
126
+ target_os = "solaris"
127
+ ) ) ]
118
128
fn ka_with_interval ( ka : TcpKeepalive , _: Duration , _: & mut bool ) -> TcpKeepalive {
119
129
ka // no-op as keepalive interval is not supported on this platform
120
130
}
121
131
122
132
#[ cfg( not( any(
133
+ target_os = "aix" ,
123
134
target_os = "openbsd" ,
124
135
target_os = "redox" ,
125
136
target_os = "solaris" ,
@@ -131,6 +142,7 @@ impl TcpKeepaliveConfig {
131
142
}
132
143
133
144
#[ cfg( any(
145
+ target_os = "aix" ,
134
146
target_os = "openbsd" ,
135
147
target_os = "redox" ,
136
148
target_os = "solaris" ,
You can’t perform that action at this time.
0 commit comments