Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent
Commits
08a624ee
Commit
08a624ee
authored
Oct 27, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into new_output_buffering
parents
e0e3eb7d
a6ac776e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
test_format.c
src/test/test_format.c
+5
-5
No files found.
src/test/test_format.c
View file @
08a624ee
...
...
@@ -1617,7 +1617,7 @@ static const char
args
.
tag
=
SLT_Debug
;
format_SLT
(
&
tx
,
&
args
,
&
str
,
&
len
);
MAN
(
str
);
#define EXP_SLT_BINARY "\"foo\\0
\\377 bar\\
0\\\\\\\"\\n\\r\\t\""
#define EXP_SLT_BINARY "\"foo\\0
00\\377 bar\\00
0\\\\\\\"\\n\\r\\t\""
VMASSERT
(
strncmp
(
str
,
EXP_SLT_BINARY
,
strlen
(
EXP_SLT_BINARY
))
==
0
,
"format_SLT with binary data: Expected '%s', got '%s'"
,
EXP_SLT_BINARY
,
str
);
...
...
@@ -2057,9 +2057,9 @@ static const char
"barhdr - GET 283 bar=baz&quux=wilco GET "\
"http://foobar.com/foo?bar=baz&quux=wilco HTTP/1.1 200 "\
"[%d/%b/%Y:%T %z] 0 %F-%T.529143 /foo varnish 0.000166 hit hit "\
"logload MATCH ACL \"10.0.0.0\"/8 \"foo\\0\\377 bar\" " \
"logload MATCH ACL \"10.0.0.0\"/8 \"foo\\0
00
\\377 bar\" " \
"1429213569.602005 0.000000 0.000000 60 0.000125 4711 1147 c "\
"MATCH ACL \"10.0.0.0\"/8 \"foo\\0\\377 bar\" "\
"MATCH ACL \"10.0.0.0\"/8 \"foo\\0
00
\\377 bar\" "\
"1429213569.602005 0.000000 0.000000 60 0.000125\n"
tm
=
localtime
(
&
t
);
MAN
(
strftime
(
strftime_s
,
BUFSIZ
,
EXP_FULL_CLIENT_OUTPUT
,
tm
));
...
...
@@ -2139,9 +2139,9 @@ static const char
"60 foohdr barhdr - GET 283 bar=baz&quux=wilco GET "\
"http://foobar.com/foo?bar=baz&quux=wilco HTTP/1.1 200 "\
"[%d/%b/%Y:%T %z] 0 %F-%T.529143 /foo varnish 0.002837 logload "\
"2 chunked stream \"foo\\0\\377 bar\" "\
"2 chunked stream \"foo\\0
00
\\377 bar\" "\
"1429210777.728290 0.000048 0.000048 283 0.000048 4711 1147 b "\
"2 chunked stream \"foo\\0\\377 bar\" "\
"2 chunked stream \"foo\\0
00
\\377 bar\" "\
"1429210777.728290 0.000048 0.000048 283 0.000048\n"
tm
=
localtime
(
&
t
);
MAN
(
strftime
(
strftime_s
,
BUFSIZ
,
EXP_FULL_BACKEND_OUTPUT
,
tm
));
...
...
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