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
dbad89eb
Commit
dbad89eb
authored
Mar 14, 2012
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now that saint-mode uses the digest, we can remove the temporary
objcore assignment.
parent
4bbbc693
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
cache_backend.c
bin/varnishd/cache/cache_backend.c
+0
-3
cache_hash.c
bin/varnishd/cache/cache_hash.c
+0
-2
No files found.
bin/varnishd/cache/cache_backend.c
View file @
dbad89eb
...
...
@@ -271,9 +271,6 @@ vbe_Healthy(const struct vdi_simple *vs, const struct sess *sp)
if
(
threshold
==
0
||
VTAILQ_EMPTY
(
&
backend
->
troublelist
))
return
(
1
);
if
(
sp
->
req
->
objcore
==
NULL
)
return
(
1
);
now
=
sp
->
t_req
;
old
=
NULL
;
...
...
bin/varnishd/cache/cache_hash.c
View file @
dbad89eb
...
...
@@ -377,7 +377,6 @@ HSH_Lookup(struct sess *sp)
*/
AZ
(
req
->
objcore
);
req
->
objcore
=
grace_oc
;
/* XXX: Hack-ish */
if
(
oc
==
NULL
/* We found no live object */
&&
grace_oc
!=
NULL
/* There is a grace candidate */
&&
(
busy_oc
!=
NULL
/* Somebody else is already busy */
...
...
@@ -387,7 +386,6 @@ HSH_Lookup(struct sess *sp)
CHECK_OBJ_NOTNULL
(
o
,
OBJECT_MAGIC
);
oc
=
grace_oc
;
}
req
->
objcore
=
NULL
;
if
(
oc
!=
NULL
&&
!
req
->
hash_always_miss
)
{
o
=
oc_getobj
(
&
wrk
->
stats
,
oc
);
...
...
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