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
77e6d3ae
Commit
77e6d3ae
authored
Jan 10, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop the poll on fd_stdin linux doesn't handle collateral close.
parent
70c9a264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
vtc_process.c
bin/varnishtest/vtc_process.c
+0
-17
No files found.
bin/varnishtest/vtc_process.c
View file @
77e6d3ae
...
@@ -173,15 +173,6 @@ process_vlu_func(void *priv, const char *l)
...
@@ -173,15 +173,6 @@ process_vlu_func(void *priv, const char *l)
return
(
0
);
return
(
0
);
}
}
static
int
v_matchproto_
(
vev_cb_f
)
process_stdin
(
const
struct
vev
*
ev
,
int
what
)
{
struct
process
*
p
;
CAST_OBJ_NOTNULL
(
p
,
ev
->
priv
,
PROCESS_MAGIC
);
vtc_log
(
p
->
vl
,
4
,
"stdin event 0x%x"
,
what
);
return
(
1
);
}
static
int
v_matchproto_
(
vev_cb_f
)
static
int
v_matchproto_
(
vev_cb_f
)
process_stdout
(
const
struct
vev
*
ev
,
int
what
)
process_stdout
(
const
struct
vev
*
ev
,
int
what
)
{
{
...
@@ -251,14 +242,6 @@ process_thread(void *priv)
...
@@ -251,14 +242,6 @@ process_thread(void *priv)
evb
=
VEV_New
();
evb
=
VEV_New
();
AN
(
evb
);
AN
(
evb
);
ev
=
VEV_Alloc
();
AN
(
ev
);
ev
->
fd
=
p
->
fd_stdin
;
ev
->
fd_flags
=
VEV__HUP
|
VEV__ERR
;
ev
->
priv
=
p
;
ev
->
callback
=
process_stdin
;
AZ
(
VEV_Start
(
evb
,
ev
));
ev
=
VEV_Alloc
();
ev
=
VEV_Alloc
();
AN
(
ev
);
AN
(
ev
);
ev
->
fd
=
p
->
fd_stdout
;
ev
->
fd
=
p
->
fd_stdout
;
...
...
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