Skip to content

Commit

Permalink
On inbound cancelled event do not close the connection if the inbound…
Browse files Browse the repository at this point in the history
…'s been disposed
  • Loading branch information
violetagg committed Feb 1, 2018
1 parent d612d0a commit d8e9ca1
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -253,6 +253,9 @@ public HttpClientRequest failOnServerError(boolean shouldFail) {

@Override
protected void onInboundCancel() {
if (isInboundDisposed()){
return;
}
channel().close();
}

Expand Down

0 comments on commit d8e9ca1

Please sign in to comment.