376201 - HalfClosed state not handled properly.
Addendum to restore previous behavior, where a closed stream was also half closed.
This commit is contained in:
parent
9cc43c5f93
commit
a389d08c26
|
@ -94,7 +94,9 @@ public class StandardStream implements IStream
|
||||||
public boolean isHalfClosed()
|
public boolean isHalfClosed()
|
||||||
{
|
{
|
||||||
CloseState closeState = this.closeState;
|
CloseState closeState = this.closeState;
|
||||||
return closeState == CloseState.LOCALLY_CLOSED || closeState == CloseState.REMOTELY_CLOSED;
|
return closeState == CloseState.LOCALLY_CLOSED ||
|
||||||
|
closeState == CloseState.REMOTELY_CLOSED ||
|
||||||
|
closeState == CloseState.CLOSED;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue