5a26a6af4 (ggbdpq, #4523) checks on every request whether the global
proxy changed, through settings.Load(), which reads and parses
settings.json each time. Every other per-request read of the settings
goes through settings.Shared(), which parses again only when the file
changed, so this one does too.
Run (mote, at this commit's tree): go test -tags nogui ./internal/netproxy
ok; TestGlobalSwitchDropsTheOldProxyConnections passes with Shared, so a
switch written to settings.json is still seen on the next request.
Broken by hand: none for this line itself (it changes cost, not
behaviour); the patch's own test goes red with the move check off
("1 connections through A, 0 through B").
Not tried: a real proxy switch in the app.