#34 writable condition reversed
This commit is contained in:
parent
0cbd252ee4
commit
f3c9fece1b
@ -47,8 +47,8 @@ impl TlsState {
|
||||
|
||||
pub(crate) fn writeable(&self) -> bool {
|
||||
match *self {
|
||||
TlsState::WriteShutdown | TlsState::FullyShutdown => true,
|
||||
_ => false,
|
||||
TlsState::WriteShutdown | TlsState::FullyShutdown => false,
|
||||
_ => true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user