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.
2 parents ddab1c7 + d394db5 commit e8abe96Copy full SHA for e8abe96
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