Thanks for libvmod-dynamic it helps us to scale up/down our environment based on traffic. currently, we are using 4.1 and wanted to move to 6.0.
I am using https://packagecloud.io/varnishcache/varnish60lts repo for varnish.
while compiling, I got below compilation issues.
VMODTOOL vcc_dynamic_if.c
CC vmod_dynamic.lo
CC dyn_resolver_gai.lo
CC vmod_dynamic_service.lo
vmod_dynamic_service.c: In function 'service_resolve':
vmod_dynamic_service.c:161:5: error: 'n' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (n == 0)
^
vmod_dynamic_service.c:166:5: error: 'w' may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (w == 0) {
^
cc1: all warnings being treated as errors
make[2]: Leaving directory `/usr/redsky/src/libvmod-dynamic/src'
make[2]: *** [vmod_dynamic_service.lo] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/redsky/src/libvmod-dynamic'
make: *** [all] Error 2
Thanks for libvmod-dynamic it helps us to scale up/down our environment based on traffic. currently, we are using 4.1 and wanted to move to 6.0. I am using https://packagecloud.io/varnishcache/varnish60lts repo for varnish. while compiling, I got below compilation issues.