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
256504c5
Commit
256504c5
authored
Jun 01, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment polishing
parent
ff0b7611
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
cache_backend_cfg.c
bin/varnishd/cache/cache_backend_cfg.c
+1
-6
No files found.
bin/varnishd/cache/cache_backend_cfg.c
View file @
256504c5
...
...
@@ -73,9 +73,7 @@ VBE_DeleteBackend(struct backend *b)
}
/*--------------------------------------------------------------------
* Add a backend/director instance when loading a VCL.
* If an existing backend is matched, grab a refcount and return.
* Else create a new backend structure with reference initialized to one.
* Create a new director::backend instance.
*/
struct
backend
*
...
...
@@ -102,9 +100,6 @@ VBE_AddBackend(const char *vcl, const struct vrt_backend *vb)
b
->
tcp_pool
=
VBT_Ref
(
vb
->
ipv4_suckaddr
,
vb
->
ipv6_suckaddr
);
/*
* Copy over the sockaddrs
*/
if
(
vb
->
ipv4_suckaddr
!=
NULL
)
b
->
ipv4
=
VSA_Clone
(
vb
->
ipv4_suckaddr
);
if
(
vb
->
ipv6_suckaddr
!=
NULL
)
...
...
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