Hi!

With 6.6, VFP_Push was made private, but it looks like there's no
alternative for it. I've seen VCL_StackVFP, but it's equally private.

For context, I'm currently using VFP_Push in
https://github.com/gquintard/vmod_reqwest/blob/4aecc793643d5eb395c43cbbad463c7b0deef6ab/src/lib.rs#L658
, pretty much exactly like Varnish does it internally:
- have a backend with a gethdrs method
- get called by VDI_GetHdr
- once the headers are in, use VFP_Push to inject a processor at the start
of the pipeline

It works very well, but if there's a way to respect the API boundaries, I'd
be happy to abide.

Cheers,

-- 
Guillaume Quintard
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to