Skip to content

Commit acc2eb9

Browse files
committed
Pass expectOtherChunks as true when aborting from status or headers handling, see AsyncHttpClient#1430
We still expect at least LastHttpContent. This change is only for clarity and consistency, as keepAlive parameter prevails and is set to false.
1 parent 256d2e4 commit acc2eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/org/asynchttpclient/netty/handler/HttpHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ private void handleHttpResponse(final HttpResponse response, final Channel chann
8787
abortAfterHandlingReactiveStreams(channel, future, handler);
8888

8989
if (abort) {
90-
finishUpdate(future, channel, false, false);
90+
finishUpdate(future, channel, false, true);
9191
}
9292
}
9393
}

0 commit comments

Comments
 (0)