Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.3 Final
-
None
Description
There is a divide by zero error in the org.apache.http.impl.client.FutureRequestExecutionMetrics.DurationCounter::averageDuration() method.
public long averageDuration() { final long counter = count.get(); return cumulativeDuration.get() / counter; // / by 0 if counter is 0 }