commit | f65320cc1c04ea9e09cc8656e87fe9912c601e9a | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Thu Oct 13 14:34:52 2011 -0700 |
committer | Gerrit <chrome-bot@google.com> | Mon Dec 05 18:51:17 2011 -0800 |
tree | 33fd03962289125b73a660ce62d707350f6f25cc | |
parent | 261daca461a38a700db80b1fee0fb1f50941aaf9 [diff] |
shill: Add http_proxy class The http_proxy adds a device/connection based proxy that guarantees to the caller that its HTTP request will go out a particular device's connection. DNS requests occur through a bound socket to this device and goes to DNS servers configured on this connection. HTTP requests will also be bound to this interface. This facility will be used by a number of peripheral bits including portal detection, activation and cashew. BUG=chromium-os:21664 TEST=New unit test. New (disabled) functional test, against which I can run "curl -x" and Chrome with manual proxy settings. Change-Id: I0d59bf0ae27d3538ef359f786742f5c2f1d6fef9 Reviewed-on: https://gerrit.chromium.org/gerrit/10165 Reviewed-by: Thieu Le <thieule@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org> Commit-Ready: Paul Stewart <pstew@chromium.org>