Commit 0a800c51 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

It is OK to VCL_Ref a cooling VCL.

Fixes: #1776
parent bf3d3dc2
......@@ -163,7 +163,7 @@ VCL_Ref(struct vcl *vcl)
{
CHECK_OBJ_NOTNULL(vcl, VCL_MAGIC);
assert(vcl->temp == vcl_temp_warm);
assert(vcl->temp == vcl_temp_warm || vcl->temp == vcl_temp_cooling);
Lck_Lock(&vcl_mtx);
assert(vcl->busy > 0);
vcl->busy++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment