Improved visit probing with status code 200 restriction.

This commit is contained in:
Christian P. MOMON 2021-05-26 00:36:27 +02:00
parent 65c359cfb8
commit 8ab33c0277

View file

@ -136,7 +136,7 @@ public class VisitCounters extends HashMap<String, Visits>
*/
public void putVisit(final HttpAccessLog log)
{
if (log != null)
if ((log != null) && (log.getStatus().getCategory() == HttpStatusCategory.SUCCESS))
{
String key = computeKey(log);