Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
24f1c4e6
Commit
24f1c4e6
authored
Nov 29, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve ESI error messages
Suggested by: scoof
parent
0dd4b7ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
cache_esi_parse.c
bin/varnishd/cache/cache_esi_parse.c
+7
-3
No files found.
bin/varnishd/cache/cache_esi_parse.c
View file @
24f1c4e6
...
...
@@ -626,13 +626,17 @@ VEP_Parse(const struct busyobj *bo, const char *p, size_t l)
vep
->
state
=
VEP_STARTTAG
;
}
else
if
(
p
<
e
&&
*
p
==
'\xeb'
)
{
VSLb
(
vep
->
bo
->
vsl
,
SLT_ESI_xmlerror
,
"No ESI processing, first char not '<'"
" (BOM? see feature esi_remove_bom)"
"No ESI processing, "
"first char not '<' but BOM."
" (See feature esi_remove_bom)"
);
vep
->
state
=
VEP_NOTXML
;
}
else
if
(
p
<
e
)
{
VSLb
(
vep
->
bo
->
vsl
,
SLT_ESI_xmlerror
,
"No ESI processing, first char not '<'"
);
"No ESI processing, "
"first char not '<'."
" (See feature esi_disable_xml_check)"
);
vep
->
state
=
VEP_NOTXML
;
}
}
else
if
(
vep
->
state
==
VEP_NOTXML
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment