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
1be5d26d
Commit
1be5d26d
authored
Oct 01, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename "pipe" to "http1 pipe", (VTLA: V1P)
parent
025f1029
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
Makefile.am
bin/varnishd/Makefile.am
+1
-1
cache.h
bin/varnishd/cache/cache.h
+4
-4
cache_http1_pipe.c
bin/varnishd/cache/cache_http1_pipe.c
+2
-2
cache_main.c
bin/varnishd/cache/cache_main.c
+1
-1
cache_req_fsm.c
bin/varnishd/cache/cache_req_fsm.c
+1
-1
No files found.
bin/varnishd/Makefile.am
View file @
1be5d26d
...
...
@@ -28,6 +28,7 @@ varnishd_SOURCES = \
cache/cache_http.c
\
cache/cache_http1_fetch.c
\
cache/cache_http1_fsm.c
\
cache/cache_http1_pipe.c
\
cache/cache_http1_proto.c
\
cache/cache_http1_vfp.c
\
cache/cache_lck.c
\
...
...
@@ -35,7 +36,6 @@ varnishd_SOURCES = \
cache/cache_mempool.c
\
cache/cache_obj.c
\
cache/cache_panic.c
\
cache/cache_pipe.c
\
cache/cache_pool.c
\
cache/cache_req_body.c
\
cache/cache_req_fsm.c
\
...
...
bin/varnishd/cache/cache.h
View file @
1be5d26d
...
...
@@ -746,6 +746,10 @@ unsigned V1D_FlushReleaseAcct(struct req *req);
void
V1D_Deliver
(
struct
req
*
,
struct
busyobj
*
);
void
V1D_Deliver_Synth
(
struct
req
*
req
);
/* cache_http1_pipe.c */
void
V1P_Init
(
void
);
void
V1P_Process
(
struct
req
*
req
,
struct
busyobj
*
bo
);
/* cache_req_body.c */
int
VRB_Ignore
(
struct
req
*
req
);
int
VRB_Cache
(
struct
req
*
req
,
ssize_t
maxsize
);
...
...
@@ -1010,10 +1014,6 @@ void PAN_Init(void);
const
char
*
body_status_2str
(
enum
body_status
e
);
const
char
*
sess_close_2str
(
enum
sess_close
sc
,
int
want_desc
);
/* cache_pipe.c */
void
Pipe_Init
(
void
);
void
PipeRequest
(
struct
req
*
req
,
struct
busyobj
*
bo
);
/* cache_pool.c */
void
Pool_Init
(
void
);
void
Pool_Accept
(
void
);
...
...
bin/varnishd/cache/cache_pipe.c
→
bin/varnishd/cache/cache_
http1_
pipe.c
View file @
1be5d26d
...
...
@@ -93,7 +93,7 @@ pipecharge(struct req *req, const struct acct_pipe *a, struct VSC_C_vbe *b)
}
void
PipeRequest
(
struct
req
*
req
,
struct
busyobj
*
bo
)
V1P_Process
(
struct
req
*
req
,
struct
busyobj
*
bo
)
{
struct
vbc
*
vc
;
struct
worker
*
wrk
;
...
...
@@ -190,7 +190,7 @@ PipeRequest(struct req *req, struct busyobj *bo)
/*--------------------------------------------------------------------*/
void
Pipe
_Init
(
void
)
V1P
_Init
(
void
)
{
Lck_New
(
&
pipestat_mtx
,
lck_pipestat
);
...
...
bin/varnishd/cache/cache_main.c
View file @
1be5d26d
...
...
@@ -225,7 +225,7 @@ child_main(void)
VBE_InitCfg
();
VBP_Init
();
Pool_Init
();
Pipe
_Init
();
V1P
_Init
();
EXP_Init
();
HSH_Init
(
heritage
.
hash
);
...
...
bin/varnishd/cache/cache_req_fsm.c
View file @
1be5d26d
...
...
@@ -499,7 +499,7 @@ cnt_pipe(struct worker *wrk, struct req *req)
INCOMPL
();
assert
(
wrk
->
handling
==
VCL_RET_PIPE
);
PipeRequest
(
req
,
bo
);
V1P_Process
(
req
,
bo
);
assert
(
WRW_IsReleased
(
wrk
));
http_Teardown
(
bo
->
bereq
);
THR_SetBusyobj
(
NULL
);
...
...
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