- always downcase and trim the port number of inbound host headers;
- only check aliases and servername once in vcl_recv; set a variable for matching in further vcl_* functions;
- ensure all further vcl_* functions indeed use the variable for matching
Details
Details
- Reviewers
ardumont - Group Reviewers
System administrators - Commits
- rSPSITEfd7f9552bfa1: varnish: simplify host header handling
testing this in vagrant admin-rp1 worked fine
Diff Detail
Diff Detail
- Repository
- rSPSITE puppet-swh-site
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.