File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,17 @@ impl From<&KeepaliveConfig> for TcpKeepalive {
12
12
fn from ( keepalive_config : & KeepaliveConfig ) -> Self {
13
13
let mut tcp_keepalive = Self :: new ( ) . with_time ( keepalive_config. idle ) ;
14
14
15
- #[ cfg( not( any( target_os = "redox" , target_os = "solaris" ) ) ) ]
15
+ #[ cfg( not( any( target_os = "redox" , target_os = "solaris" , target_os = "openbsd" ) ) ) ]
16
16
if let Some ( interval) = keepalive_config. interval {
17
17
tcp_keepalive = tcp_keepalive. with_interval ( interval) ;
18
18
}
19
19
20
- #[ cfg( not( any( target_os = "redox" , target_os = "solaris" , target_os = "windows" ) ) ) ]
20
+ #[ cfg( not( any(
21
+ target_os = "redox" ,
22
+ target_os = "solaris" ,
23
+ target_os = "windows" ,
24
+ target_os = "openbsd"
25
+ ) ) ) ]
21
26
if let Some ( retries) = keepalive_config. retries {
22
27
tcp_keepalive = tcp_keepalive. with_retries ( retries) ;
23
28
}
You can’t perform that action at this time.
0 commit comments