- internal/transport/client.go: replace bare &http.Transport{} with
DefaultTransport.Clone() so HTTP_PROXY/HTTPS_PROXY/NO_PROXY, ForceAttemptHTTP2,
IdleConnTimeout, and ExpectContinueTimeout are preserved; only intentionally-tuned
fields (DialContext, TLSHandshakeTimeout, ResponseHeaderTimeout, DisableCompression,
MaxIdleConnsPerHost) are overridden.
- cmd/devbox/main.go: statusCmd disk path now calls control.DialState once upfront;
prints "⚠️ daemon not running — showing last-known disk state (run: devbox start)"
when daemon is absent so users aren't silently misled.
- Tests: TestTransportHonorsProxyEnv asserts Proxy!=nil + ForceAttemptHTTP2=true;
TestStatusDaemonNotRunning asserts warning appears on joined-but-no-daemon device.
|
||
|---|---|---|
| .. | ||
| control.go | ||
| fda_darwin.go | ||
| fda_other.go | ||
| fda_test.go | ||
| main.go | ||
| main_test.go | ||
| pidfile.go | ||
| pidfile_test.go | ||
| wizard.go | ||
| wizard_test.go | ||