Skip to content

Commit

Permalink
fix #224: Emit error signal when the connection is closed prematurely
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg authored and smaldini committed Dec 6, 2017
1 parent b9faa47 commit 168b2eb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,10 @@ protected final void onHandlerTerminate() {
try {
Operators.terminate(OUTBOUND_CLOSE, this);
onInactive.onComplete(); //signal senders and other interests
inbound.onInboundComplete();
// Do not call directly inbound.onInboundComplete()
// HttpClientOperations need to notify with error
// when there is no response state
onInboundComplete();
}
finally {
channel.pipeline()
Expand Down

0 comments on commit 168b2eb

Please sign in to comment.