Deliver ReqEnd in http header
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Feb 27 17:01:42 CET 2008
In message <40zeulwe24yossl.270220081655 at torlen.net>, Erik writes:
>I suspect that this cant be done right now but Ill ask anyway.
>
>In varnishlog you have the reqend field with some interesting times. My question is if I could include these times in one or more http headerfields when varnish delivers the response (vcl_deliver).
>
>Varnishlog often gets very big and in my opinion it would be easier to use, for ex. LiveHttp Header in firefox or something similiar, to see the step that took time.
>
>ReqEnd Example:
>2039158367 1158180241.888800123 1158180241.888854881 0.005646787 0.000015924 0.000038834
> XID Request timestamp Complete timestamp Idle time proc.time xmit time
Well, obviously you cannot have timestamps that are taken after we
compose the headers for transmission, but otherwise it wouldn't be
impossible.
--
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