Re: ESI include inserts garbage code {SOLVED]

2010-02-11 Thread Bert-Jan de Lange
On 12-Feb-2010 00:48, Poul-Henning Kamp wrote:
 In message4b749359.3080...@bugbyte.nl, Bert-Jan de Lange writes:

 On 12-Feb-2010 00:28, Poul-Henning Kamp wrote:
  

 If it a separate line with hex digits, then it is the chunked encoding
 we use to transmit ESI with to HTTP/1.1 clients...


 Yes, exactly that. It looks like this:
  
 Your client should not show you that.

 I fixed a bug in -trunk three days that might relate to this,
 (HTTP/1.0 vs HTTP/1.1 confusion).

 Or you can try in vcl_deliver to always force the reply protocol
 to be HTTP/1.1



Added to the end of vcl_deliver:

if (resp.http.Transfer-Encoding == chunked) {
 set resp.proto = regsub(resp.proto, 1\.0, 1.1);
}

The checksums are gone now.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: ESI include inserts garbage code {SOLVED]

2010-02-11 Thread Poul-Henning Kamp
In message 4b749cb9.6080...@bugbyte.nl, Bert-Jan de Lange writes:

The checksums are gone now.

Well, they're not really checksums, they are byte counts, but...

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@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@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc