Httpclient-2194 async retries not including body (#343)
This commit is contained in:
parent
e6ad081b3c
commit
dd0bbda070
|
@ -128,6 +128,9 @@ public final class AsyncHttpRequestRetryExec implements AsyncExecChainHandler {
|
|||
public void completed() {
|
||||
if (state.retrying) {
|
||||
scope.execCount.incrementAndGet();
|
||||
if (entityProducer != null) {
|
||||
entityProducer.releaseResources();
|
||||
}
|
||||
scope.scheduler.scheduleExecution(request, entityProducer, scope, asyncExecCallback, state.delay);
|
||||
} else {
|
||||
asyncExecCallback.completed();
|
||||
|
|
Loading…
Reference in New Issue