Deliver ReqEnd in http header

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Feb 27 23:58:24 CET 2008


In message <47C59DBD.1060101 at torlen.net>, Erik Torlen writes:
>But we could take those timestamps that we would be able to compose 
>before the transmission of headers :)
>
>This would be cool to have. Is it alot of code to implent? Can I as a 
>"almost-a-newbie" go into the code? :P

It's not too terrible, but not entirely simple either.

You need to add an VCL object (see the lib/libvcl/*.tcl files, then
add the necessary stuff in the .c files)

Then you need to at the VCL RunTime ("VRT") functions in cache_vrt.c.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list