summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-07-28 09:49:02 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-07-28 09:49:02 +0900
commit14736620ec1e0040c55c83cfc163049b36f7af23 (patch)
tree2f00431dceae92da1b8da6a40ac66d3364282570 /src/misc
parent「削除して編集」機能を追加 (#5182) (diff)
downloadmisskey-14736620ec1e0040c55c83cfc163049b36f7af23.tar.gz
misskey-14736620ec1e0040c55c83cfc163049b36f7af23.tar.bz2
misskey-14736620ec1e0040c55c83cfc163049b36f7af23.zip
HTTPリクエストのKeep-AliveとPrxoy対応など (#5226)
* DriveのKeep-Alive, Proxy と APのProxy対応 * request系でKeep-Aliveするように * fix lookup-dns-cache.d.ts * remove debug output
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/donwload-url.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc/donwload-url.ts b/src/misc/donwload-url.ts
index 0ba25d812b..564edbd3b1 100644
--- a/src/misc/donwload-url.ts
+++ b/src/misc/donwload-url.ts
@@ -29,6 +29,7 @@ export async function downloadUrl(url: string, path: string) {
url: new URL(url).href, // https://github.com/syuilo/misskey/issues/2637
proxy: config.proxy,
timeout: 10 * 1000,
+ forever: true,
headers: {
'User-Agent': config.userAgent
}