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
59a2525b
Commit
59a2525b
authored
Jan 30, 2018
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code style OCD
parent
2c8c2d98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
cache_backend.c
bin/varnishd/cache/cache_backend.c
+1
-1
cache_tcp_pool.h
bin/varnishd/cache/cache_tcp_pool.h
+5
-3
No files found.
bin/varnishd/cache/cache_backend.c
View file @
59a2525b
...
...
@@ -179,7 +179,7 @@ vbe_dir_finish(const struct director *d, struct worker *wrk,
bo
->
htc
->
priv
=
NULL
;
if
(
vtp
->
state
!=
VTP_STATE_USED
)
assert
(
bo
->
htc
->
doclose
==
SC_TX_PIPE
||
bo
->
htc
->
doclose
==
SC_RX_TIMEOUT
);
bo
->
htc
->
doclose
==
SC_RX_TIMEOUT
);
if
(
bo
->
htc
->
doclose
!=
SC_NULL
||
bp
->
proxy_header
!=
0
)
{
VSLb
(
bo
->
vsl
,
SLT_BackendClose
,
"%d %s"
,
vtp
->
fd
,
bp
->
director
->
display_name
);
...
...
bin/varnishd/cache/cache_tcp_pool.h
View file @
59a2525b
...
...
@@ -53,10 +53,12 @@ struct vtp {
* Prototypes
*/
struct
tcp_pool
*
VTP_Ref
(
const
struct
suckaddr
*
ip4
,
const
struct
suckaddr
*
ip6
,
const
void
*
id
);
struct
tcp_pool
*
VTP_Ref
(
const
struct
suckaddr
*
ip4
,
const
struct
suckaddr
*
ip6
,
const
void
*
id
);
/*
* Get a reference to a TCP pool. Either ip4 or ip6 arg must be non-NULL.
* If recycling is to be used, the id pointer distinguishes the pool per protocol.
* Get a reference to a TCP pool. Either ip4 or ip6 arg must be
* non-NULL. If recycling is to be used, the id pointer distinguishes
* the pool per protocol.
*/
void
VTP_AddRef
(
struct
tcp_pool
*
);
...
...
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