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
ddd5df3d
Commit
ddd5df3d
authored
Oct 22, 2019
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the VCL_HEADER type in VRT code
parent
57ba8f3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
cache_vrt.c
bin/varnishd/cache/cache_vrt.c
+2
-3
No files found.
bin/varnishd/cache/cache_vrt.c
View file @
ddd5df3d
...
...
@@ -158,7 +158,7 @@ VRT_selecthttp(VRT_CTX, enum gethdr_e where)
/*--------------------------------------------------------------------*/
VCL_STRING
VRT_GetHdr
(
VRT_CTX
,
const
struct
gethdr_s
*
hs
)
VRT_GetHdr
(
VRT_CTX
,
VCL_HEADER
hs
)
{
VCL_HTTP
hp
;
const
char
*
p
;
...
...
@@ -571,8 +571,7 @@ VRT_UpperLowerStrands(VRT_CTX, VCL_STRANDS s, int up)
/*--------------------------------------------------------------------*/
VCL_VOID
VRT_SetHdr
(
VRT_CTX
,
const
struct
gethdr_s
*
hs
,
const
char
*
p
,
...)
VRT_SetHdr
(
VRT_CTX
,
VCL_HEADER
hs
,
const
char
*
p
,
...)
{
VCL_HTTP
hp
;
va_list
ap
;
...
...
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