]> err.no Git - varnish/commit
Add a check to avoid doing ESI parsing of objects that do not look
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 24 Jul 2008 20:39:04 +0000 (20:39 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 24 Jul 2008 20:39:04 +0000 (20:39 +0000)
commit6bc9f8d6298b6254d4daf52c8e927fe79ce22b3c
treed0f5e96e696bcb86ebe41684643d98f2fb1ef840
parent6236699f32fa407bbf5e18013898d38eca5001c9
Add a check to avoid doing ESI parsing of objects that do not look
like XML.  Our definition of "looks like XML" is that the first
non-white-space character is '<'.

Add a new parameter "esi_syntax" with bits to steer the ESI parser.

Use the first bit to disable the "looks like XML" check.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3016 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishd/cache_vrt_esi.c
varnish-cache/bin/varnishd/heritage.h
varnish-cache/bin/varnishd/mgt_param.c