distribution/registry
Josh Hawn 628c7fa77b Updated urlbuilder X-Forwarded-Host logic
According to the Apache mod_proxy docs, X-Forwarded-Host can be a
comma-separated list of hosts, to which each proxy appends the requested
host. We want to grab only the first from this comma-separated list
to get the original requested Host when building URLs.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2015-04-24 14:16:49 -07:00
..
api/v2 Updated urlbuilder X-Forwarded-Host logic 2015-04-24 14:16:49 -07:00
auth fix some typos in source comments 2015-04-17 12:39:52 +00:00
client Remove unnecessary close in client 2015-03-03 19:29:12 -08:00
handlers Return after error in handler 2015-04-23 13:13:13 -07:00
middleware Rename top level registry interface to namespace 2015-04-09 19:21:33 -07:00
storage Merge pull request #430 from stevvooe/address-s3-timeout-error 2015-04-24 11:20:30 -07:00
doc.go Integrate layer info cache with registry and storage 2015-04-02 20:15:16 -07:00