r2178 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Mon Oct 29 09:09:28 CET 2007
Author: phk
Date: 2007-10-29 09:09:28 +0100 (Mon, 29 Oct 2007)
New Revision: 2178
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
Log:
Don't complain about unrecognized <! sequences, just treat them like
any other <...>
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2007-10-29 07:53:27 UTC (rev 2177)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2007-10-29 08:09:28 UTC (rev 2178)
@@ -405,16 +405,6 @@
continue;
}
- if (p[1] == '!') {
- /*
- * Unrecognized <! sequence, ignore
- */
- esi_error(ew, p, i,
- "XML 1.0 Unknown <! sequence");
- p += 2;
- continue;
- }
-
/* Find end of this element */
for (q = p + 1; q < t.e && *q != '>'; q++)
continue;
More information about the varnish-commit
mailing list