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
e4e4e219
Commit
e4e4e219
authored
Mar 08, 2016
by
Dag Haavi Finstad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revive the backend_conn counter
Discussed with Federico. Fixes: #1725
parent
81d5d462
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cache_backend_tcp.c
bin/varnishd/cache/cache_backend_tcp.c
+3
-1
No files found.
bin/varnishd/cache/cache_backend_tcp.c
View file @
e4e4e219
...
...
@@ -382,7 +382,9 @@ VBT_Get(struct tcp_pool *tp, double tmo, const struct backend *be,
Lck_Lock
(
&
tp
->
mtx
);
tp
->
n_used
--
;
// Nope, didn't work after all.
Lck_Unlock
(
&
tp
->
mtx
);
}
}
else
VSC_C_main
->
backend_conn
++
;
return
(
vbc
);
}
...
...
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