Skip to content

Commit 49e0580

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
@@ -149,8 +149,8 @@ else if (request.getBodyGenerator() != null)
149149
// we can't directly send the next request because we still have to received LastContent
150150
requestSender.drainChannelAndExecuteNextRequest(channel, future, nextRequest);
151151
} else {
152-
channelManager.drainChannelAndOffer(channel, future, initialConnectionKeepAlive, initialPartitionKey);
153152
requestSender.sendNextRequest(nextRequest, future);
153+
channelManager.drainChannelAndOffer(channel, future, initialConnectionKeepAlive, initialPartitionKey);
154154
}
155155

156156
} else {

0 commit comments

Comments
 (0)