Commit 1b0ec4d
authored
fix: document uppercase ALL_PROXY support (#1024)
Syncthing’s proxy documentation incorrectly states that only lowercase
`all_proxy` is supported. `golang.org/x/net/proxy` accepts both
`ALL_PROXY` and `all_proxy`, with the uppercase form taking precedence
and thus being preferred.
This corrects both affected documentation passages while leaving the
existing examples unchanged. Uppercase support was added in [golang/net
commit
054b33e](golang/net@054b33e)
and subsequently shipped by Syncthing.
More background is available
[here](https://max.pm/posts/go-proxy-mess/#syncthing-all-proxy-capitalization).1 parent 99c109f commit 1b0ec4d
2 files changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
| 340 | + | |
| 341 | + | |
343 | 342 | | |
344 | | - | |
| 343 | + | |
345 | 344 | | |
346 | 345 | | |
347 | 346 | | |
| |||
0 commit comments