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
53061001
Commit
53061001
authored
Aug 30, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Aug 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reintroduce ExpKill VSL records.
Fixes #946 Patch by scoof
parent
bc6aded4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cache_expire.c
bin/varnishd/cache_expire.c
+4
-0
No files found.
bin/varnishd/cache_expire.c
View file @
53061001
...
...
@@ -338,6 +338,7 @@ exp_timer(struct sess *sp, void *priv)
struct
objcore
*
oc
;
struct
lru
*
lru
;
double
t
;
struct
object
*
o
;
(
void
)
priv
;
t
=
TIM_real
();
...
...
@@ -401,6 +402,9 @@ exp_timer(struct sess *sp, void *priv)
VSC_C_main
->
n_expired
++
;
CHECK_OBJ_NOTNULL
(
oc
->
objhead
,
OBJHEAD_MAGIC
);
o
=
oc_getobj
(
sp
->
wrk
,
oc
);
WSL
(
sp
->
wrk
,
SLT_ExpKill
,
0
,
"%u %.0f"
,
o
->
xid
,
EXP_Ttl
(
NULL
,
o
)
-
t
);
(
void
)
HSH_Deref
(
sp
->
wrk
,
oc
,
NULL
);
}
NEEDLESS_RETURN
(
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