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
830fddd4
Commit
830fddd4
authored
Jun 28, 2021
by
Guillaume Quintard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ncsa] with flags, show the whole record
parent
eecfc864
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
varnishncsa.c
bin/varnishncsa/varnishncsa.c
+4
-2
u00017.vtc
bin/varnishtest/tests/u00017.vtc
+1
-1
No files found.
bin/varnishncsa/varnishncsa.c
View file @
830fddd4
...
...
@@ -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
:
...
...
bin/varnishtest/tests/u00017.vtc
View file @
830fddd4
...
...
@@ -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" {
...
...
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