Hi,
When using ESI (trunk r2652), varnish is adding extraneous characters
to the output sent to the client, depending on the client being used.
For example, for this html file:
<html>
<body>
<h1>Teste ESI 8</h1>
<b><esi:include src="/cgi-bin/date" /></b>
</body>
</html>
and this vcl snippet:
} elseif (req.url ~ "^/t(este)?.html$") {
remove obj.http.Last-Modified;
esi; /* Do ESI processing */
set obj.ttl = 1m;
"wget http://localhost/teste.html" generates this output:
26
<html>
<body>
<h1>Teste ESI 8</h1>
<b>
19
Sun Jun 8 17:37:43 2008
15
</b>
</body>
</html>
0
telnet generates the same output.
On the other hand, curl & safari get the expected output, eg
$ curl http://localhost/teste.html
<html>
<body>
<h1>Teste ESI 8</h1>
<b>Sun Jun 8 17:51:49 2008
</b>
</body>
</html>
Can anyone duplicate this problem?
Thanks,
--
Adriano
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc