Mailing List Archive

HTTP Trailers
Hi,

I would like to log the content of a HTTP Trailer sent to Varnish in a
response from a server within our own infrastructure. Since the data I
want to log requires the entire body to be available, we don't want to
send it in a header for performance reasons.

Logging the header field as such works as expected. Announcing it as a
Trailer and sending it as such leaves the log field empty.

As far as I can see, I'm generating the trailers correctly, e.g. I can
see the infos I stuck into the Server-Timing Trailer in the Firefox
console in window.performance.getEntries().

In addition to all that, I would also like to pass the Server-Timing
Trailer to the client. However, both the TE: Trailers request header
field as well the the Trailer: response-header and the trailers
themselves are removed with our current varnish setup using Varnish
5.2 or 6.1.

Are Trailers supported at all in any Varnish version, and if so, do I
have to take special measures to (1) transparently handle them when
passing a response or (2) log their values?

thanks,

rainer
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: HTTP Trailers [ In reply to ]
Hi,

can anyone on this list authoritatively state if HTTP trailers are
supported at all in any version of Varnish, or if there are vmods to
support them?

thanks,

rainer
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: HTTP Trailers [ In reply to ]
--------
In message <CAN-a7TH517CiefY6LJNWcgiUJ0QmhVfgW7nkxAdBjo_e2qmi0Q@mail.gmail.com>
, Rainer Canavan writes:

>can anyone on this list authoritatively state if HTTP trailers are
>supported at all in any version of Varnish, or if there are vmods to
>support them?

They are not.

Not as far as I know.

--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@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.
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc