Commit f8e95527 authored by Guillaume Quintard's avatar Guillaume Quintard Committed by guillaume quintard

Add release notes

parent 3ae6edff
......@@ -806,7 +806,7 @@ VRT_r_obj_hits(VRT_CTX)
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
CHECK_OBJ_NOTNULL(ctx->req, REQ_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
......
......@@ -10,4 +10,8 @@ Changes in Varnish 6.1
**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*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment