Commit 830fddd4 authored by Guillaume Quintard's avatar Guillaume Quintard

[ncsa] with flags, show the whole record

parent eecfc864
......@@ -971,8 +971,10 @@ dispatch_f(struct VSL_data *vsl, struct VSL_transaction * const pt[],
b = VSL_CDATA(t->c->rec.ptr);
e = b + VSL_LEN(t->c->rec.ptr);
while (e > b && e[-1] == '\0')
e--;
if (!VSL_tagflags[tag]) {
while (e > b && e[-1] == '\0')
e--;
}
switch (tag) {
case SLT_HttpGarbage:
......
......@@ -23,7 +23,7 @@ client c1 {
# Let's fist create a script to reduce in all the variants below.
shell {
varnishncsa -d -n ${v1_name} -F '%{VSL:Debug}x' -j | grep "^cookie: nothing to parse$"
varnishncsa -d -n ${v1_name} -F '%{VSL:Debug}x' -j | grep "^cookie: nothing to parse\\\\u0000"
}
shell -err -expect "Tag Debug can contain control characters" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment