On Mon, Sep 05, 2011 at 10:05:49PM +0200, Jean Praloran wrote: > I'm currently using varnish 3.0.0 on debian Squeeze 64bits, installed from > the devbian varnish repository. I'm trying to follow the idea of this script > : https://www.varnish-cache.org/trac/wiki/VCLExampleExtendingCacheControl > > I can't manage to make it work since varnish child crashes :
[...] > Condition(l == strlen(hdr + 1)) not true.#012thread = > > while using this C embedded : > > ttl = VRT_GetHdr(sp, HDR_OBJ, "\016Varnish-Control:"); [...] \016 is octal. Your length thus ends up being incorrect. I suggest \020. Also, you should use either a bug report or the -misc or -dev list. The -bug list is mainly intended for automatic mails from trac. - Kristian _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
