Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.1
Description
If in AsyncByteConsumer close underlying channel
protected void onByteReceived(ByteBuffer buf, IOControl ioctrl) throws IOException {
if( <some_condition> )
}
later in HttpAsyncRequestExecutor.inputReady(...) there is just one check agains content decoder to verify if consuming completed
if (decoder.isCompleted())
{ processResponse(conn, state, handler); }so the decoder goes into indefinite waiting.
Seems like setting decoder.completed into true solves problem.
Thoughts?
Attachments
Issue Links
- duplicates
-
HTTPASYNC-69 calling IOControl.shutdown() doesn't release the underlying connection
- Resolved