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
2247fc84
Commit
2247fc84
authored
Mar 18, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More commenting out busy checks
parent
44b83413
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
cache_expire.c
bin/varnishd/cache/cache_expire.c
+1
-1
cache_fetch.c
bin/varnishd/cache/cache_fetch.c
+2
-3
No files found.
bin/varnishd/cache/cache_expire.c
View file @
2247fc84
...
...
@@ -513,7 +513,7 @@ exp_expire(struct exp_priv *ep, double now)
lru
=
oc_getlru
(
oc
);
CHECK_OBJ_NOTNULL
(
lru
,
LRU_MAGIC
);
Lck_Lock
(
&
lru
->
mtx
);
AZ
(
oc
->
flags
&
OC_F_BUSY
);
//
AZ(oc->flags & OC_F_BUSY);
oc
->
flags
|=
OC_F_DYING
;
if
(
oc
->
flags
&
OC_F_OFFLRU
)
oc
=
NULL
;
...
...
bin/varnishd/cache/cache_fetch.c
View file @
2247fc84
...
...
@@ -203,11 +203,10 @@ vbf_stp_mkbereq(const struct worker *wrk, struct busyobj *bo)
if
(
http_GetHdr
(
bo
->
ims_obj
->
http
,
H_Last_Modified
,
&
p
))
{
http_PrintfHeader
(
bo
->
bereq0
,
"If-Modified-Since: %s"
,
p
);
}
else
if
(
http_GetHdr
(
bo
->
ims_obj
->
http
,
H_ETag
,
&
p
))
{
}
if
(
http_GetHdr
(
bo
->
ims_obj
->
http
,
H_ETag
,
&
p
))
{
http_PrintfHeader
(
bo
->
bereq0
,
"If-None-Match: %s"
,
p
);
}
else
{
WRONG
(
"Shouldn't have bo->ims_obj"
);
}
}
...
...
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