Skip to content

Commit 271eee7

Browse files
author
Mike Noordermeer
committed
Workaround for AsyncHttpClient#1268
1 parent 190ff03 commit 271eee7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ else if (request.getBodyGenerator() != null)
150150
requestSender.drainChannelAndExecuteNextRequest(channel, future, nextRequest);
151151
} else {
152152
channelManager.drainChannelAndOffer(channel, future, initialConnectionKeepAlive, initialPartitionKey);
153-
requestSender.sendNextRequest(nextRequest, future);
153+
requestSender.sendRequest(nextRequest, future.getAsyncHandler(), future, true);
154154
}
155155

156156
} else {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>org.asynchttpclient</groupId>
1010
<artifactId>async-http-client-project</artifactId>
1111
<name>Asynchronous Http Client Project</name>
12-
<version>2.0.16</version>
12+
<version>2.0.16-fixed</version>
1313
<packaging>pom</packaging>
1414
<description>
1515
The Async Http Client (AHC) library's purpose is to allow Java

0 commit comments

Comments
 (0)