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
012200ab
Commit
012200ab
authored
Sep 17, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate the global vca_pipes.
parent
b190a57e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
cache_acceptor.c
bin/varnishd/cache_acceptor.c
+0
-3
cache_waiter.h
bin/varnishd/cache_waiter.h
+0
-2
No files found.
bin/varnishd/cache_acceptor.c
View file @
012200ab
...
...
@@ -95,8 +95,6 @@ static const struct linger linger = {
static
unsigned
char
need_sndtimeo
,
need_rcvtimeo
,
need_linger
,
need_test
;
int
vca_pipes
[
2
]
=
{
-
1
,
-
1
};
static
void
sock_test
(
int
fd
)
{
...
...
@@ -407,7 +405,6 @@ ccf_start(struct cli *cli, const char * const *av, void *priv)
AN
(
vca_act
->
init
);
AN
(
vca_act
->
pass
);
AZ
(
pipe
(
vca_pipes
));
/* XXX */
waiter_priv
=
vca_act
->
init
();
AZ
(
pthread_create
(
&
VCA_thread
,
NULL
,
vca_acct
,
NULL
));
VSL
(
SLT_Debug
,
0
,
"Acceptor is %s"
,
vca_act
->
name
);
...
...
bin/varnishd/cache_waiter.h
View file @
012200ab
...
...
@@ -33,8 +33,6 @@ struct sess;
typedef
void
*
waiter_init_f
(
void
);
typedef
void
waiter_pass_f
(
void
*
priv
,
const
struct
sess
*
);
extern
int
vca_pipes
[
2
];
struct
waiter
{
const
char
*
name
;
waiter_init_f
*
init
;
...
...
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