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
599f2e3f
Commit
599f2e3f
authored
Jun 17, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split the HTTP1 specific parts of the backend fetch code into a
separate source file.
parent
1252ddf2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
462 additions
and
413 deletions
+462
-413
Makefile.am
bin/varnishd/Makefile.am
+1
-0
cache.h
bin/varnishd/cache/cache.h
+4
-0
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+7
-413
cache_http1_fetch.c
bin/varnishd/cache/cache_http1_fetch.c
+450
-0
No files found.
bin/varnishd/Makefile.am
View file @
599f2e3f
...
...
@@ -27,6 +27,7 @@ varnishd_SOURCES = \
cache/cache_gzip.c
\
cache/cache_hash.c
\
cache/cache_http.c
\
cache/cache_http1_fetch.c
\
cache/cache_http1_fsm.c
\
cache/cache_http1_proto.c
\
cache/cache_lck.c
\
...
...
bin/varnishd/cache/cache.h
View file @
599f2e3f
...
...
@@ -784,6 +784,10 @@ void VBO_DerefBusyObj(struct worker *wrk, struct busyobj **busyobj);
void
VBO_Free
(
struct
busyobj
**
vbo
);
void
VBO_extend
(
const
struct
busyobj
*
,
ssize_t
);
/* cache_http1_fetch.c [V1F] */
int
V1F_fetch_hdr
(
struct
worker
*
wrk
,
struct
busyobj
*
bo
,
struct
req
*
req
);
void
V1F_fetch_body
(
struct
worker
*
wrk
,
struct
busyobj
*
bo
);
/* cache_http1_fsm.c [HTTP1] */
typedef
int
(
req_body_iter_f
)(
struct
req
*
,
void
*
priv
,
void
*
ptr
,
size_t
);
void
HTTP1_Session
(
struct
worker
*
,
struct
req
*
);
...
...
bin/varnishd/cache/cache_fetch.c
View file @
599f2e3f
This diff is collapsed.
Click to expand it.
bin/varnishd/cache/cache_http1_fetch.c
0 → 100644
View file @
599f2e3f
This diff is collapsed.
Click to expand it.
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