Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
unique-xids
Commits
30ef1f0a
Commit
30ef1f0a
authored
Jan 25, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't kill varnishd process before it has a chance to tell us its trouble
parent
8b9e46f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
vtc_varnish.c
bin/varnishtest/vtc_varnish.c
+0
-4
No files found.
bin/varnishtest/vtc_varnish.c
View file @
30ef1f0a
...
...
@@ -305,15 +305,11 @@ varnish_launch(struct varnish *v)
fd
.
events
=
POLLIN
;
i
=
poll
(
&
fd
,
1
,
10000
);
if
(
i
!=
1
)
{
AZ
(
close
(
v
->
fds
[
1
]));
(
void
)
kill
(
v
->
pid
,
SIGKILL
);
vtc_log
(
v
->
vl
,
0
,
"FAIL timeout waiting for CLI connection"
);
return
;
}
nfd
=
accept
(
v
->
cli_fd
,
NULL
,
NULL
);
if
(
nfd
<
0
)
{
AZ
(
close
(
v
->
fds
[
1
]));
(
void
)
kill
(
v
->
pid
,
SIGKILL
);
vtc_log
(
v
->
vl
,
0
,
"FAIL no CLI connection accepted"
);
return
;
}
...
...
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