You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Varnish 4, the VMODs need to be changed, since the old sess struct has been split, some data is in vrt_ctx->req, and some is in vrt_vtx->req->sp.
varnishdCommand failed with error code 106
Message from C-compiler:
./vcl.7z2OalIg.c:1258:44: warning: ‘struct sess’ declared inside parameter list [enabled by default]
void vcl_geoip_send_synthetic(const struct sess *sp) {
^
./vcl.7z2OalIg.c:1258:44: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
./vcl.7z2OalIg.c: In function ‘vcl_geoip_send_synthetic’:
./vcl.7z2OalIg.c:1260:5: warning: passing argument 1 of ‘VRT_r_client_ip’ from incompatible pointer type [enabled by default]
vcl_string *ip = VRT_IP_string(sp, VRT_r_client_ip(sp));
^
./vcl.7z2OalIg.c:431:8: note: expected ‘const struct vrt_ctx *’ but argument is of type ‘const struct sess *’
VCL_IP VRT_r_client_ip(const struct vrt_ctx *);
[140 lines truncated]
Running C-compiler failed, exit 1
VCL compilation failed
Error: vcl.load root:dc384c58-0338-411b-8be8-2b306ca075fc /etc/varnish/default.vcl failed
failed!
The text was updated successfully, but these errors were encountered:
Hi.
Since Varnish 4, the VMODs need to be changed, since the old sess struct has been split, some data is in vrt_ctx->req, and some is in vrt_vtx->req->sp.
The text was updated successfully, but these errors were encountered: