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
f8e95527
Commit
f8e95527
authored
Aug 22, 2018
by
Guillaume Quintard
Committed by
guillaume quintard
Aug 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add release notes
parent
3ae6edff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
cache_vrt_var.c
bin/varnishd/cache/cache_vrt_var.c
+1
-1
changes-6.1.rst
doc/sphinx/whats-new/changes-6.1.rst
+4
-0
No files found.
bin/varnishd/cache/cache_vrt_var.c
View file @
f8e95527
...
@@ -806,7 +806,7 @@ VRT_r_obj_hits(VRT_CTX)
...
@@ -806,7 +806,7 @@ VRT_r_obj_hits(VRT_CTX)
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
,
VRT_CTX_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
->
req
,
REQ_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
->
req
,
REQ_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
->
req
->
objcore
,
OBJCORE_MAGIC
);
CHECK_OBJ_NOTNULL
(
ctx
->
req
->
objcore
,
OBJCORE_MAGIC
);
return
(
ctx
->
req
->
is_hit
?
ctx
->
req
->
objcore
->
hits
:
0
);
return
(
ctx
->
req
->
is_hit
?
ctx
->
req
->
objcore
->
hits
:
1
);
}
}
VCL_BOOL
VCL_BOOL
...
...
doc/sphinx/whats-new/changes-6.1.rst
View file @
f8e95527
...
@@ -10,4 +10,8 @@ Changes in Varnish 6.1
...
@@ -10,4 +10,8 @@ Changes in Varnish 6.1
**XXX**
**XXX**
Varnish now won't rewrite the content-length header when responding to any HEAD
request, making it possible to cache HEAD requests independently from the GET
ones (peviously a HEAD request had to be a pass to avoid this rewriting).
*eof*
*eof*
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