Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/src/node
Asher 003480881b
fix: infinite proxy loop (#4676)
I think the problem is that when a proxy is not in use proxy-agent
returns the global agent...which is itself since we set it globally,
causing the loop.

VS Code already covers proxies meaning we only need to do it in our own
requests so to fix this pass in the agent in the version fetch request
instead of overidding globally.

Also avoid proxy-from-env and pass in the proxy URI instead as both
http_proxy and https_proxy can be used for either http or https requests
but it does not allow that.
2022-01-03 18:19:21 -06:00
..
routes Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
app.ts fix(testing): revert change & fix playwright tests (#4310) 2021-10-28 15:27:17 -05:00
cli.ts Add separate function for VS Code arguments (#4599) 2021-12-10 12:01:35 -06:00
coder_cloud.ts fix(testing): revert change & fix playwright tests (#4310) 2021-10-28 15:27:17 -05:00
constants.ts fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
entry.ts fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
heart.ts heart.ts: Fix leak when server closes 2021-01-20 02:06:44 -05:00
http.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
main.ts Add separate function for VS Code arguments (#4599) 2021-12-10 12:01:35 -06:00
plugin.ts Refactor vscode endpoints to use fork directly. 2021-09-30 19:14:17 -04:00
proxy.ts Update proxy path passthrough documentation 2021-02-05 11:44:38 -05:00
settings.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
socket.ts chore: update CHANGELOG 2021-05-13 12:10:22 -07:00
update.ts fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
util.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
wrapper.ts Fix: use pipe to spawn child process to re-enable file logging (#4293) 2021-10-05 10:55:40 -05:00
wsRouter.ts chore: replace eslint-import-resolver-alias with eslint-import-resolver-typescript (#4546) 2021-12-07 14:39:01 -07:00