git-lfs/lfshttp
brian m. carlson acd77c36f9
lfshttp: improve proxy support
Currently, our proxy support has some limitations.  Notably, we don't
handle wildcards in the no_proxy environment variable.

Unfortunately for us, there's no standard as to how these environment
variables are supposed to be handled, so any attempt we made to handle
this ourselves would likely be incomplete.  However, fortunately for us,
our needs are simple: we need standard behavior except that a user can
use a proxy for localhost, and we need to be able to read from a source
other than the environment.

The solution is to use the Go extension httpproxy module along with a
little bit of custom configuration and URL rewriting, which means we
don't have to worry about maintaining the complexity of parsing proxy
support.  This also means we can drop a large amount of complex (and
subtly wrong) code.
2020-01-07 15:45:31 +00:00
..
standalone Provide support for file URLs via a transfer agent 2019-08-02 17:23:47 +00:00
body.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_darwin.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_dragonfly.go Support DragonFly BSD 2019-09-26 07:12:23 +08:00
certs_freebsd.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_linux.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_openbsd.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs_test.go lfshttp: cache clients based on host and access type 2019-12-09 15:35:52 +00:00
certs_windows.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
certs.go fix ssl certificate logic 2019-10-18 21:19:35 +03:00
client_test.go lfshttp: support http.version 2019-10-29 19:47:20 +00:00
client.go Merge pull request #3941 from bk2204/kerberos 2020-01-03 14:51:47 +00:00
cookies.go Use different parser for cookiejar files 2019-10-27 16:48:15 -05:00
endpoint.go Add support for local paths 2019-11-14 17:23:12 +00:00
errors.go Add integration tests; check other places where 429 could occur 2019-01-07 12:27:02 +03:00
lfshttp.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
proxy_test.go lfshttp: improve proxy support 2020-01-07 15:45:31 +00:00
proxy.go lfshttp: improve proxy support 2020-01-07 15:45:31 +00:00
retries_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
retries.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
ssh_test.go Merge branch 'master' into lfshttp 2018-09-14 11:42:19 -07:00
ssh.go ssh: redirect stdin from /dev/null 2019-07-19 16:00:21 +00:00
stats_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
stats.go Fix Typos 2019-07-24 07:17:40 +00:00
verbose_test.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
verbose.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00