mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
c4778ea1be
Use sockets.DialerFromEnvironment, as is done in other places, to transparently support SOCKS proxy config from ALL_PROXY environment variable. Requires the *engine* have the ALL_PROXY env var set, which doesn't seem ideal. Maybe it should be a CLI option somehow? Only tested with push and a v2 registry so far. I'm happy to look further into testing more broadly, but I wanted to get feedback on the general idea first. Signed-off-by: Brett Higgins <brhiggins@arbor.net> |
||
---|---|---|
.. | ||
auth_test.go | ||
auth.go | ||
config_test.go | ||
config_unix.go | ||
config_windows.go | ||
config.go | ||
endpoint_test.go | ||
endpoint_v1.go | ||
reference.go | ||
registry_mock_test.go | ||
registry_test.go | ||
registry.go | ||
service_v1.go | ||
service_v2.go | ||
service.go | ||
session.go | ||
types.go |