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
f1d450cf
Unverified
Commit
f1d450cf
authored
Oct 12, 2022
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Constify
found by flexelint
parent
18151d30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cache_varnishd.h
bin/varnishd/cache/cache_varnishd.h
+1
-1
cache_vary.c
bin/varnishd/cache/cache_vary.c
+1
-1
No files found.
bin/varnishd/cache/cache_varnishd.h
View file @
f1d450cf
...
...
@@ -462,7 +462,7 @@ void VCP_Panic(struct vsb *, struct conn_pool *);
/* cache_vary.c */
int
VRY_Create
(
struct
busyobj
*
bo
,
struct
vsb
**
psb
);
int
VRY_Match
(
struct
req
*
,
const
uint8_t
*
vary
);
int
VRY_Match
(
const
struct
req
*
,
const
uint8_t
*
vary
);
void
VRY_Prep
(
struct
req
*
);
void
VRY_Clear
(
struct
req
*
);
enum
vry_finish_flag
{
KEEP
,
DISCARD
};
...
...
bin/varnishd/cache/cache_vary.c
View file @
f1d450cf
...
...
@@ -286,7 +286,7 @@ VRY_Finish(struct req *req, enum vry_finish_flag flg)
*/
int
VRY_Match
(
struct
req
*
req
,
const
uint8_t
*
vary
)
VRY_Match
(
const
struct
req
*
req
,
const
uint8_t
*
vary
)
{
uint8_t
*
vsp
=
req
->
vary_b
;
const
char
*
h
,
*
e
;
...
...
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