diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-07-28 09:49:02 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-07-28 09:49:02 +0900 |
| commit | 14736620ec1e0040c55c83cfc163049b36f7af23 (patch) | |
| tree | 2f00431dceae92da1b8da6a40ac66d3364282570 /src/misc | |
| parent | 「削除して編集」機能を追加 (#5182) (diff) | |
| download | misskey-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.ts | 1 |
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 } |