Hi,

> "How can I create string variables in the default.vcl file... Is it
> possible to create variables and then use them.."

you can store informationen in the http-header

in vcl:
req.http.X-Variable = "value";

and in inline c
VRT_GetHdr(sp, HDR_REQ, "\013X-Variable:")

VRT_SetHdr(sp, HDR_REQ, "\013X-Variable:", "value", vrt_magic_string_end);

Sincerely

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to