Commit 5e21eb3b authored by Dridi Boukelmoune's avatar Dridi Boukelmoune Committed by Lasse Karstensen

VMODs handling of VCL_EVENT_COLD must be failsafe

Also for 4.1
parent 2e0fb179
......@@ -404,7 +404,7 @@ vcl_set_state(struct vcl *vcl, const char *state)
break;
if (vcl->busy == 0) {
vcl->temp = vcl_temp_cold;
(void)vcl->conf->event_vcl(&ctx, VCL_EVENT_COLD);
AZ(vcl->conf->event_vcl(&ctx, VCL_EVENT_COLD));
vcl_BackendEvent(vcl, VCL_EVENT_COLD);
} else {
vcl->temp = vcl_temp_cooling;
......
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