Merge pull request #370 from Lorfdail/master
Handle non unix case in poll_start of PollConnect
This commit is contained in:
commit
12546ecd95
@ -110,7 +110,14 @@ impl PollConnect for Connect {
|
||||
params: state.params,
|
||||
tls: state.tls,
|
||||
})
|
||||
}
|
||||
},
|
||||
#[cfg(not(unix))]
|
||||
Host::Unix(_) => {
|
||||
Err(Error::connect(io::Error::new(
|
||||
io::ErrorKind::Other,
|
||||
"unix sockets are not supported on this platform",
|
||||
)))
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user