Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
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
varnishevent3
Commits
cf64e7de
Commit
cf64e7de
authored
Feb 07, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duh! Don't leak all the transient storage we use for pass requests.
parent
959a7b3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
cache_hash.c
bin/varnishd/cache_hash.c
+10
-4
b00002.vtc
bin/varnishtest/tests/b00002.vtc
+1
-0
No files found.
bin/varnishd/cache_hash.c
View file @
cf64e7de
...
...
@@ -683,16 +683,22 @@ HSH_Deref(struct worker *w, struct objcore *oc, struct object **oo)
return
(
r
);
}
if
(
oc
!=
NULL
)
{
BAN_DestroyObj
(
oc
);
AZ
(
oc
->
ban
);
}
if
(
o
!=
NULL
)
{
if
(
oc
!=
NULL
)
{
BAN_DestroyObj
(
oc
);
AZ
(
oc
->
ban
);
}
DSL
(
0x40
,
SLT_Debug
,
0
,
"Object %u workspace min free %u"
,
o
->
xid
,
WS_Free
(
o
->
ws_o
));
if
(
oc
!=
NULL
)
oc_freeobj
(
oc
);
else
{
STV_Freestore
(
o
);
STV_free
(
o
->
objstore
);
o
=
NULL
;
}
w
->
stats
.
n_object
--
;
}
...
...
bin/varnishtest/tests/b00002.vtc
View file @
cf64e7de
...
...
@@ -23,6 +23,7 @@ client c1 {
delay .1
varnish v1 -expect n_object == 0
varnish v1 -expect SMA.Transient.nobj == 0
varnish v1 -expect client_conn == 1
varnish v1 -expect client_req == 1
varnish v1 -expect s_sess == 1
...
...
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