Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
4ba2fafe
Commit
4ba2fafe
authored
Feb 20, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate WSL() usage.
parent
2608703b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
cache_backend.c
bin/varnishd/cache/cache_backend.c
+5
-5
cache_dir.c
bin/varnishd/cache/cache_dir.c
+2
-2
No files found.
bin/varnishd/cache/cache_backend.c
View file @
4ba2fafe
...
...
@@ -183,8 +183,8 @@ bes_conn_try(const struct sess *sp, struct vbc *vc, const struct vdi_simple *vs)
}
else
{
vc
->
vsl_id
=
s
|
VSL_BACKENDMARKER
;
VTCP_myname
(
s
,
abuf1
,
sizeof
abuf1
,
pbuf1
,
sizeof
pbuf1
);
WSL
(
sp
->
req
->
vsl
,
SLT_BackendOpen
,
vc
->
vsl_id
,
"
%s %s %s "
,
vs
->
backend
->
display_name
,
abuf1
,
pbuf1
);
VSLb
(
sp
->
req
->
vsl
,
SLT_BackendOpen
,
"%d
%s %s %s "
,
v
c
->
fd
,
v
s
->
backend
->
display_name
,
abuf1
,
pbuf1
);
}
}
...
...
@@ -354,12 +354,12 @@ vbe_GetVbe(const struct sess *sp, struct vdi_simple *vs)
return
(
vc
);
}
VSC_C_main
->
backend_toolate
++
;
WSL
(
sp
->
wrk
->
vsl
,
SLT_BackendClose
,
vc
->
vsl_id
,
"%s
"
,
bp
->
display_name
);
VSLb
(
sp
->
req
->
vsl
,
SLT_BackendClose
,
"%d %s toolate
"
,
vc
->
fd
,
bp
->
display_name
);
/* Checkpoint log to flush all info related to this connection
before the OS reuses the FD */
VSL_Flush
(
sp
->
wrk
->
vsl
,
0
);
VSL_Flush
(
sp
->
req
->
vsl
,
0
);
VTCP_close
(
&
vc
->
fd
);
VBE_DropRefConn
(
bp
);
...
...
bin/varnishd/cache/cache_dir.c
View file @
4ba2fafe
...
...
@@ -55,7 +55,7 @@ VDI_CloseFd(struct worker *wrk, struct vbc **vbp)
bp
=
vc
->
backend
;
WSL
(
vc
->
vsl
,
SLT_BackendClose
,
vc
->
vsl_id
,
"%s"
,
bp
->
display_name
);
VSLb
(
vc
->
vsl
,
SLT_BackendClose
,
"%s"
,
bp
->
display_name
);
/* Checkpoint log to flush all info related to this connection
before the OS reuses the FD */
...
...
@@ -89,7 +89,7 @@ VDI_RecycleFd(struct worker *wrk, struct vbc **vbp)
bp
=
vc
->
backend
;
WSL
(
vc
->
vsl
,
SLT_BackendReuse
,
vc
->
vsl_id
,
"%s"
,
bp
->
display_name
);
VSLb
(
vc
->
vsl
,
SLT_BackendReuse
,
"%s"
,
bp
->
display_name
);
/*
* Flush the shmlog, so that another session reusing this backend
...
...
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