/
githubmirror
/
code-server
Обзор
Документация
Войти
/
githubmirror
/
code-server
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v4.113.0
patches/keepalive.diff
15 строк
710 B
Asher
Update VS Code to 1.92.2 (#6941)
16 авг 2024, 08:33
Не верифицирован
16 авг 2024, 08:33
34c6751
Код
Авторство
О чём код?
This can be removed after upgrading to Node >= 19 as keepAlive is defaulted to true after 19. Index: code-server/lib/vscode/src/vs/platform/request/node/proxy.ts =================================================================== --- code-server.orig/lib/vscode/src/vs/platform/request/node/proxy.ts +++ code-server/lib/vscode/src/vs/platform/request/node/proxy.ts @@ -42,6 +42,7 @@ export async function getProxyAgent(rawR port: (proxyEndpoint.port ? +proxyEndpoint.port : 0) || (proxyEndpoint.protocol === 'https' ? 443 : 80), auth: proxyEndpoint.auth, rejectUnauthorized: isBoolean(options.strictSSL) ? options.strictSSL : true, + keepAlive: true, }; if (requestURL.protocol === 'http:') {