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
02a8578d
Commit
02a8578d
authored
Sep 26, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be consistent about upper/lower VTLA
parent
b1ce7022
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
cache_esi_fetch.c
bin/varnishd/cache/cache_esi_fetch.c
+2
-2
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+6
-6
cache_gzip.c
bin/varnishd/cache/cache_gzip.c
+3
-3
cache_priv.h
bin/varnishd/cache/cache_priv.h
+5
-5
No files found.
bin/varnishd/cache/cache_esi_fetch.c
View file @
02a8578d
...
...
@@ -273,14 +273,14 @@ vfp_esi_fini(struct vfp_ctx *vc, struct vfp_entry *vfe)
vfe
->
priv1
=
NULL
;
}
const
struct
vfp
vfp
_esi
=
{
const
struct
vfp
VFP
_esi
=
{
.
name
=
"esi"
,
.
init
=
vfp_esi_init
,
.
pull
=
vfp_esi_pull
,
.
fini
=
vfp_esi_fini
,
};
const
struct
vfp
vfp
_esi_gzip
=
{
const
struct
vfp
VFP
_esi_gzip
=
{
.
name
=
"esi_gzip"
,
.
init
=
vfp_esi_gzip_init
,
.
pull
=
vfp_esi_gzip_pull
,
...
...
bin/varnishd/cache/cache_fetch.c
View file @
02a8578d
...
...
@@ -574,19 +574,19 @@ vbf_stp_fetch(struct worker *wrk, struct busyobj *bo)
assert
(
bo
->
do_gzip
==
0
||
bo
->
do_gunzip
==
0
);
if
(
bo
->
do_gunzip
||
(
bo
->
is_gzip
&&
bo
->
do_esi
))
vbf_vfp_push
(
bo
,
&
vfp
_gunzip
);
vbf_vfp_push
(
bo
,
&
VFP
_gunzip
);
if
(
bo
->
htc
->
content_length
!=
0
)
{
if
(
bo
->
do_esi
&&
bo
->
do_gzip
)
{
vbf_vfp_push
(
bo
,
&
vfp
_esi_gzip
);
vbf_vfp_push
(
bo
,
&
VFP
_esi_gzip
);
}
else
if
(
bo
->
do_esi
&&
bo
->
is_gzip
&&
!
bo
->
do_gunzip
)
{
vbf_vfp_push
(
bo
,
&
vfp
_esi_gzip
);
vbf_vfp_push
(
bo
,
&
VFP
_esi_gzip
);
}
else
if
(
bo
->
do_esi
)
{
vbf_vfp_push
(
bo
,
&
vfp
_esi
);
vbf_vfp_push
(
bo
,
&
VFP
_esi
);
}
else
if
(
bo
->
do_gzip
)
{
vbf_vfp_push
(
bo
,
&
vfp
_gzip
);
vbf_vfp_push
(
bo
,
&
VFP
_gzip
);
}
else
if
(
bo
->
is_gzip
&&
!
bo
->
do_gunzip
)
{
vbf_vfp_push
(
bo
,
&
vfp
_testgunzip
);
vbf_vfp_push
(
bo
,
&
VFP
_testgunzip
);
}
}
...
...
bin/varnishd/cache/cache_gzip.c
View file @
02a8578d
...
...
@@ -664,7 +664,7 @@ vfp_gzip_fini(struct vfp_ctx *vc, struct vfp_entry *vfe)
/*--------------------------------------------------------------------*/
const
struct
vfp
vfp
_gunzip
=
{
const
struct
vfp
VFP
_gunzip
=
{
.
name
=
"gunzip"
,
.
init
=
vfp_gzip_init
,
.
pull
=
vfp_gunzip_pull
,
...
...
@@ -673,7 +673,7 @@ const struct vfp vfp_gunzip = {
.
priv2
=
VFP_GUNZIP
,
};
const
struct
vfp
vfp
_gzip
=
{
const
struct
vfp
VFP
_gzip
=
{
.
name
=
"gzip"
,
.
init
=
vfp_gzip_init
,
.
pull
=
vfp_gzip_pull
,
...
...
@@ -682,7 +682,7 @@ const struct vfp vfp_gzip = {
.
priv2
=
VFP_GZIP
,
};
const
struct
vfp
vfp
_testgunzip
=
{
const
struct
vfp
VFP
_testgunzip
=
{
.
name
=
"testgunzip"
,
.
init
=
vfp_gzip_init
,
.
pull
=
vfp_testgunzip_pull
,
...
...
bin/varnishd/cache/cache_priv.h
View file @
02a8578d
...
...
@@ -93,11 +93,11 @@ void VFP_Setup(struct vfp_ctx *vc);
int
VFP_Open
(
struct
vfp_ctx
*
bo
);
void
VFP_Close
(
struct
vfp_ctx
*
bo
);
extern
const
struct
vfp
vfp
_gunzip
;
extern
const
struct
vfp
vfp
_gzip
;
extern
const
struct
vfp
vfp
_testgunzip
;
extern
const
struct
vfp
vfp
_esi
;
extern
const
struct
vfp
vfp
_esi_gzip
;
extern
const
struct
vfp
VFP
_gunzip
;
extern
const
struct
vfp
VFP
_gzip
;
extern
const
struct
vfp
VFP
_testgunzip
;
extern
const
struct
vfp
VFP
_esi
;
extern
const
struct
vfp
VFP
_esi_gzip
;
/* cache_http.c */
void
HTTP_Init
(
void
);
...
...
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