Commit 4d16ee92 authored by Reza Naghibi's avatar Reza Naghibi Committed by Dridi Boukelmoune

Allow now to be used in vcl_init

parent 4d7b204c
......@@ -44,6 +44,7 @@
#include "cache_director.h"
#include "cache_vcl.h"
#include "vcli_serve.h"
#include "vtim.h"
const char * const VCL_TEMP_INIT = "init";
const char * const VCL_TEMP_COLD = "cold";
......@@ -115,6 +116,7 @@ vcl_get_ctx(unsigned method, int msg)
handling_cli = 0;
ctx_cli.handling = &handling_cli;
ctx_cli.method = method;
ctx_cli.now = VTIM_real();
if (msg) {
ctx_cli.msg = VSB_new_auto();
AN(ctx_cli.msg);
......
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