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
a36ad636
Commit
a36ad636
authored
Jan 12, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the cache_waiter stuff from cache.h to waiter.h
parent
a6ad0ea2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
cache.h
bin/varnishd/cache/cache.h
+0
-6
cache_backend.c
bin/varnishd/cache/cache_backend.c
+1
-1
cache_panic.c
bin/varnishd/cache/cache_panic.c
+1
-0
cache_http1_fsm.c
bin/varnishd/http1/cache_http1_fsm.c
+1
-0
waiter.h
bin/varnishd/waiter/waiter.h
+6
-0
No files found.
bin/varnishd/cache/cache.h
View file @
a36ad636
...
...
@@ -1063,12 +1063,6 @@ void ESI_DeliverChild(struct req *, struct busyobj *);
/* cache_vrt_vmod.c */
void
VMOD_Init
(
void
);
/* cache_waiter.c */
void
WAIT_Enter
(
struct
sess
*
sp
);
void
WAIT_Init
(
void
);
const
char
*
WAIT_GetName
(
void
);
void
WAIT_Write_Session
(
struct
sess
*
sp
,
int
fd
);
/* cache_wrk.c */
void
WRK_Thread
(
struct
pool
*
qp
,
size_t
stacksize
,
unsigned
thread_workspace
);
...
...
bin/varnishd/cache/cache_backend.c
View file @
a36ad636
...
...
@@ -503,7 +503,7 @@ vbe_dir_http1pipe(const struct director *d, struct req *req, struct busyobj *bo)
void
VRT_init_vbe
(
VRT_CTX
,
struct
director
**
bp
,
int
idx
,
const
struct
vrt_backend
*
t
)
const
struct
vrt_backend
*
t
)
{
struct
vbe_dir
*
vs
;
...
...
bin/varnishd/cache/cache_panic.c
View file @
a36ad636
...
...
@@ -47,6 +47,7 @@
#include "cache_backend.h"
#include "storage/storage.h"
#include "vcl.h"
#include "waiter/waiter.h"
/*
* The panic string is constructed in memory, then copied to the
...
...
bin/varnishd/http1/cache_http1_fsm.c
View file @
a36ad636
...
...
@@ -44,6 +44,7 @@
#include "vcl.h"
#include "vtcp.h"
#include "vtim.h"
#include "waiter/waiter.h"
/*----------------------------------------------------------------------
* Collect a request from the client.
...
...
bin/varnishd/waiter/waiter.h
View file @
a36ad636
...
...
@@ -41,6 +41,12 @@ struct waiter {
waiter_pass_f
*
pass
;
};
/* cache_waiter.c */
void
WAIT_Enter
(
struct
sess
*
sp
);
void
WAIT_Init
(
void
);
const
char
*
WAIT_GetName
(
void
);
void
WAIT_Write_Session
(
struct
sess
*
sp
,
int
fd
);
/* mgt_waiter.c */
extern
struct
waiter
const
*
waiter
;
int
WAIT_tweak_waiter
(
struct
vsb
*
vsb
,
const
char
*
arg
);
...
...
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