We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddab1c7 commit d394db5Copy full SHA for d394db5
src/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProvider.java
@@ -2103,6 +2103,9 @@ public Object call() throws Exception {
2103
}
2104
};
2105
2106
+ if (future.getKeepAlive()) {
2107
+ future.setReuseChannel(true);
2108
+ }
2109
if (future.getKeepAlive() && response.isChunked()) {
2110
// We must make sure there is no bytes left before executing the next request.
2111
ctx.setAttachment(ac);
0 commit comments