[master] f8e95527c Add release notes

Dridi Boukelmoune dridi at varni.sh
Wed Aug 22 16:30:40 UTC 2018


On Wed, Aug 22, 2018 at 6:21 PM, guillaume quintard
<gquintard at users.noreply.github.com> wrote:
>
> commit f8e95527c0d3cf7f1bf6c23c21367bba20474c1a
> Author: Guillaume Quintard <guillaume at varnish-software.com>
> Date:   Wed Aug 22 09:16:09 2018 -0700
>
>     Add release notes
>
> diff --git a/bin/varnishd/cache/cache_vrt_var.c b/bin/varnishd/cache/cache_vrt_var.c
> index 175bee8a3..2561d7db6 100644
> --- a/bin/varnishd/cache/cache_vrt_var.c
> +++ b/bin/varnishd/cache/cache_vrt_var.c
> @@ -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);
>  }

Smells like not release notes above.

>  VCL_BOOL
> diff --git a/doc/sphinx/whats-new/changes-6.1.rst b/doc/sphinx/whats-new/changes-6.1.rst
> index ee3644694..91d4b8491 100644
> --- a/doc/sphinx/whats-new/changes-6.1.rst
> +++ b/doc/sphinx/whats-new/changes-6.1.rst
> @@ -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*
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit


More information about the varnish-commit mailing list