Commit 1e4aa6d
authored
Try fetching without proxy first
When fetching a resource, try directly first. If it throws an error, then try with proxies.
Fixes #95
Should also reduce drastically the petitions to the proxy servers (will only be made if the non-proxy fails)1 parent 2c23eba commit 1e4aa6d
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 108 | + | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
0 commit comments