- 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.
|
||
|---|---|---|
| .. | ||
| chunk | ||
| config | ||
| control | ||
| daemon | ||
| hooks | ||
| hub | ||
| identity | ||
| ignore | ||
| manifest | ||
| secret | ||
| syncer | ||
| transport | ||
| watch | ||