DRP: Add check that ECT header is present when CPAT header is present.
Add a (d)check in data reduction proxy (DRP) code which verifies that if the CPAT header is present in the request headers, then ECT header must be present too. Other checks added: e.g., chrome-proxy header should only be sent when the resolved proxy is a data saver proxy. Finally, the CL also modifies few unittests to avoid tripping the DCHECKs. BUG=706650 Review-Url: https://codereview.chromium.org/2771413004 Cr-Commit-Position: refs/heads/master@{#460609}
Showing
Please register or sign in to comment