mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Fix TLS crash with HTTP proxy
This commit is contained in:
parent
4592f062c4
commit
3fafcb15a1
5 changed files with 161 additions and 14 deletions
|
@ -4,7 +4,7 @@ import { createWriteStream } from 'fs'
|
|||
import { remove } from 'fs-extra/esm'
|
||||
import got, { CancelableRequest, OptionsInit, OptionsOfTextResponseBody, OptionsOfUnknownResponseBody, RequestError, Response } from 'got'
|
||||
import { gotSsrf } from 'got-ssrf'
|
||||
import { HttpProxyAgent, HttpsProxyAgent } from 'hpagent'
|
||||
import { HttpProxyAgent, HttpsProxyAgent } from '../helpers/hpagent.js'
|
||||
import { ACTIVITY_PUB, BINARY_CONTENT_TYPES, PEERTUBE_VERSION, REQUEST_TIMEOUTS, WEBSERVER } from '../initializers/constants.js'
|
||||
import { pipelinePromise } from './core-utils.js'
|
||||
import { logger, loggerTagsFactory } from './logger.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue