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
1ebd8615
Commit
1ebd8615
authored
Mar 11, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grace=0 should not mean "use default"
Spotted by: Geoff
parent
0a23fd62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cache_expire.c
bin/varnishd/cache_expire.c
+1
-1
No files found.
bin/varnishd/cache_expire.c
View file @
1ebd8615
...
...
@@ -119,7 +119,7 @@ EXP_Grace(const struct sess *sp, const struct object *o)
double
r
;
r
=
(
double
)
params
->
default_grace
;
if
(
o
->
exp
.
grace
>
0
.)
if
(
o
->
exp
.
grace
>
=
0
.)
r
=
o
->
exp
.
grace
;
if
(
sp
!=
NULL
&&
sp
->
exp
.
grace
>
0
.
&&
sp
->
exp
.
grace
<
r
)
r
=
sp
->
exp
.
grace
;
...
...
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