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
d3a0764a
Commit
d3a0764a
authored
Aug 21, 2015
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the length limit for backends display name
parent
2998862d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
cache_backend_cfg.c
bin/varnishd/cache/cache_backend_cfg.c
+9
-3
No files found.
bin/varnishd/cache/cache_backend_cfg.c
View file @
d3a0764a
...
...
@@ -65,7 +65,7 @@ struct director *
VRT_new_backend
(
VRT_CTX
,
const
struct
vrt_backend
*
vrt
)
{
struct
backend
*
b
;
char
buf
[
128
]
;
struct
vsb
*
vsb
;
struct
vcl
*
vcl
;
struct
tcp_pool
*
tp
=
NULL
;
const
struct
vrt_backend_probe
*
vbp
;
...
...
@@ -89,8 +89,14 @@ VRT_new_backend(VRT_CTX, const struct vrt_backend *vrt)
#undef DA
#undef DN
bprintf
(
buf
,
"%s.%s"
,
VCL_Name
(
vcl
),
vrt
->
vcl_name
);
REPLACE
(
b
->
display_name
,
buf
);
vsb
=
VSB_new_auto
();
AN
(
vsb
);
VSB_printf
(
vsb
,
"%s.%s"
,
VCL_Name
(
vcl
),
vrt
->
vcl_name
);
AZ
(
VSB_finish
(
vsb
));
b
->
display_name
=
strdup
(
VSB_data
(
vsb
));
AN
(
b
->
display_name
);
VSB_delete
(
vsb
);
b
->
vcl
=
vcl
;
...
...
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