On Fri, Jan 7, 2022 at 2:40 AM Guillaume Quintard <guillaume.quint...@gmail.com> wrote: > > As usual, thanks a bunch for all your help! > > Using the THR_* functions work: > https://github.com/gquintard/vmod_rers/blob/270a2f4272be49f8c1c904b899ec91dafcf2f873/src/lib.rs#L227 > and they allow me to merge most of the vfp/vdp init code together (helped by > the fact the same rust structure is both a VDP and a VFP) > > It would be even more legible if we had access to the vrt_ctx directly (for > both vfp AND vdp) so I wouldn't have to build my own, OR if we hade > VRT_priv_task_raw_parts(const req *, const busyobj *, const void *) so I > didn't have to build my own context, but that is already pretty sweet
https://github.com/varnishcache/varnish-cache/pull/3772 _______________________________________________ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev