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
f895383d
Commit
f895383d
authored
Apr 11, 2017
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore shm_reclen as an alias for vsl_reclen
Fixes #2307
parent
ce9ebf12
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
mgt_param_tbl.c
bin/varnishd/mgt/mgt_param_tbl.c
+6
-0
r02307.vtc
bin/varnishtest/tests/r02307.vtc
+4
-0
params.h
include/tbl/params.h
+3
-0
No files found.
bin/varnishd/mgt/mgt_param_tbl.c
View file @
f895383d
...
...
@@ -144,6 +144,12 @@ struct parspec mgt_parspec[] = {
MEMPOOL_TEXT
,
0
,
"10,100,10"
,
""
},
{
"shm_reclen"
,
tweak_vsl_reclen
,
&
mgt_param
.
vsl_reclen
,
"16b"
,
NULL
,
"Old name for vsl_reclen, use that instead."
,
0
,
"255b"
,
"bytes"
},
{
NULL
,
NULL
,
NULL
}
};
bin/varnishtest/tests/r02307.vtc
0 → 100644
View file @
f895383d
varnishtest "shm_reclen alias for vsl_reclen"
varnish v1 -cli "param.set shm_reclen 42"
varnish v1 -cliexpect 42b "param.show vsl_reclen"
include/tbl/params.h
View file @
f895383d
...
...
@@ -969,6 +969,8 @@ PARAM(
/* func */
NULL
)
#if 0
/* actual location mgt_param_tbl.c */
PARAM(
/* name */ shm_reclen,
/* typ */ vsl_reclen,
...
...
@@ -982,6 +984,7 @@ PARAM(
/* l-text */ "",
/* func */ NULL
)
#endif
PARAM
(
/* name */
shortlived
,
...
...
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