New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 812343 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , iOS , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Local variations server testing doesn't work with new HTTP logic

Project Member Reported by asvitk...@chromium.org, Feb 14 2018

Issue description

Local variations server testing doesn't work with new HTTP logic.

The problem is when testing locally, a user typically runs a local variations server on http://localhost:8080 with http-decryption disabled and specifies this URL to Chrome.

But the new logic added in variations_service.cc for HTTP treats these cases as HTTP fallback requests and expects things to be encrypted, etc.

We should change the logic to not do the encryption logic if the URL is an HTTP URL specified manually on the command-line.

Carlos, could you take a look?
 
Labels: -OS-Fuchsia OS-iOS
Status: Started (was: Assigned)
Project Member

Comment 4 by bugdroid1@chromium.org, Feb 21 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/dd06f17c50b043cfb2ba4c44e116af5b6e6cdb9f

commit dd06f17c50b043cfb2ba4c44e116af5b6e6cdb9f
Author: Carlos IL <carlosil@chromium.org>
Date: Wed Feb 21 23:48:46 2018

VariationsService will not encrypt headers for seed fetches to flag URL.

VariationsService was modified so that If-None-Match headers are not
encrypted when sending to an HTTP URL if that URL was specified via the
--variations-server-url command line flag. Tests were also added for
the different cases where encryption should/should not be triggered.

Bug:  812343 
Change-Id: I3e8dc021e70a1ec225349830b14e77087678763a
Reviewed-on: https://chromium-review.googlesource.com/922451
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Commit-Queue: Carlos IL <carlosil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538258}
[modify] https://crrev.com/dd06f17c50b043cfb2ba4c44e116af5b6e6cdb9f/components/variations/service/variations_service.cc
[modify] https://crrev.com/dd06f17c50b043cfb2ba4c44e116af5b6e6cdb9f/components/variations/service/variations_service.h

Status: Fixed (was: Started)

Sign in to add a comment