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
e7f07bee
Commit
e7f07bee
authored
Mar 31, 2016
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix varnishtest barrier error messages
Spotted by @fgsch
parent
3426e8c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vtc_barrier.c
bin/varnishtest/vtc_barrier.c
+1
-1
vmod_debug.c
lib/libvmod_debug/vmod_debug.c
+1
-1
No files found.
bin/varnishtest/vtc_barrier.c
View file @
e7f07bee
...
...
@@ -325,7 +325,7 @@ barrier_sock_sync(struct barrier *b, struct vtclog *vl)
AZ
(
close
(
sock
));
if
(
sz
<
0
)
vtc_log
(
vl
,
0
,
"Barrier(%s)
connection
failed: %s (errno=%d)"
,
vtc_log
(
vl
,
0
,
"Barrier(%s)
read
failed: %s (errno=%d)"
,
b
->
name
,
strerror
(
i
),
i
);
if
(
sz
>
0
)
vtc_log
(
vl
,
0
,
"Barrier(%s) unexpected data (%ldB)"
,
...
...
lib/libvmod_debug/vmod_debug.c
View file @
e7f07bee
...
...
@@ -507,7 +507,7 @@ vmod_barrier_sync(VRT_CTX, VCL_STRING addr)
return
(
1
);
if
(
sz
<
0
)
VSLb
(
ctx
->
vsl
,
SLT_Error
,
"Barrier
connection
failed: %s (errno=%d)"
,
strerror
(
i
),
i
);
"Barrier
read
failed: %s (errno=%d)"
,
strerror
(
i
),
i
);
if
(
sz
>
0
)
VSLb
(
ctx
->
vsl
,
SLT_Error
,
"Barrier unexpected data (%ldB)"
,
sz
);
return
(
0
);
...
...
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