#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 {
|
pub(crate) fn writeable(&self) -> bool {
|
||||||
match *self {
|
match *self {
|
||||||
TlsState::WriteShutdown | TlsState::FullyShutdown => true,
|
TlsState::WriteShutdown | TlsState::FullyShutdown => false,
|
||||||
_ => false,
|
_ => true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user