b44cbe40ef
Right now, we try to spawn multiple SSH connections using ControlMaster when making multiple requests. However, if multiplexing is not enabled, we can spawn multiple actual connections, which can be expensive and require lots of authentication requests. Instead, let's make sure we don't enable multiple connections if multiplexing is not enabled, since this may cause the user to be prompted for multiple SSH key connection attempts (say, if they're using a security key) and is substantially more heavyweight than simply spawning a new process over the same connection. Since the code has different behaviour if `XDG_RUNTIME_DIR` is set, make sure to unset it for the tests so that we always try to create a temporary directory and don't otherwise fail because that environment variable points somewhere unexpected. |
||
---|---|---|
.. | ||
standalone | ||
body.go | ||
certs_darwin.go | ||
certs_nix.go | ||
certs_test.go | ||
certs_windows.go | ||
certs.go | ||
client_test.go | ||
client.go | ||
cookies.go | ||
endpoint.go | ||
errors.go | ||
lfshttp.go | ||
proxy_test.go | ||
proxy.go | ||
retries_test.go | ||
retries.go | ||
ssh_test.go | ||
ssh.go | ||
stats_test.go | ||
stats.go | ||
verbose_test.go | ||
verbose.go |