Skip to content

pass changed to pipe #1545

Open
Open
@jakwinkler

Description

@jakwinkler

We've been using an old version (0.7.1) and we had no performance issues.
After decided to upgrade to 0.7.5 we've noticed a performance drop in our Magento 1 installation, after checking all code changes we determine that performance dropped due to change in varnish return from pass to pipe.

Before (0.7.1):

if (!true || req.method !~ "^(GET|HEAD|OPTIONS)$" ||
req.http.Cookie ~ "varnish_bypass=1") {
return (pass);
}

After (0.7.5)

if (!true || req.http.Authorization ||
req.method !~ "^(GET|HEAD|OPTIONS)$" ||
req.http.Cookie ~ "varnish_bypass=1") {
return (pipe);
}

Was that on purpose?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions