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
c4e07ea1
Commit
c4e07ea1
authored
Apr 06, 2018
by
Poul-Henning Kamp
Committed by
Dridi Boukelmoune
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report if killing haproxy fails
parent
43f1ca56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vtc_haproxy.c
bin/varnishtest/vtc_haproxy.c
+3
-0
No files found.
bin/varnishtest/vtc_haproxy.c
View file @
c4e07ea1
...
...
@@ -324,6 +324,9 @@ haproxy_wait(struct haproxy *h)
vtc_log
(
h
->
vl
,
2
,
"Stop HAproxy pid=%ld"
,
(
long
)
h
->
pid
);
h
->
kill_status
=
kill
(
h
->
pid
,
HAPROXY_SIGNAL
);
h
->
kill_errno
=
errno
;
if
(
h
->
kill_status
)
vtc_log
(
h
->
vl
,
4
,
"Kill=%d: %s"
,
h
->
kill_status
,
strerror
(
h
->
kill_errno
));
h
->
expect_signal
=
-
HAPROXY_SIGNAL
;
// XXX: loop over kills to ESRCH ?
}
...
...
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