diff --git a/src/app-layer-htp-range.c b/src/app-layer-htp-range.c index b383e41d29..55587487f5 100644 --- a/src/app-layer-htp-range.c +++ b/src/app-layer-htp-range.c @@ -131,7 +131,7 @@ static inline bool ContainerValueRangeTimeout(void *data, const SCTime_t ts) { HttpRangeContainerFile *cu = data; // we only timeout if we have no flow referencing us - if (SCTIME_CMP_GT(ts, cu->expire) || cu->error) { + if (SCTIME_CMP_GTE(ts, cu->expire) || cu->error) { DEBUG_VALIDATE_BUG_ON(cu->files == NULL); return true; }