Closed csvtuda closed 4 months ago
openSSL
OPENSSL_ROOT_CA_PATH
OPENSSL_SECURE_OPTIONS
added http option
http
import { Agent } from "node:https"; import { constants } from "node:crypto"; // ... { jira: { projectKey: "ABC", url: "https://example.org", }, http: { httpAgent: new Agent({ ca: "/home/somewhere/ca.pem", secureOptions: constants.SSL_OP_LEGACY_SERVER_CONNECT | constants.SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION, }), } }
import { Agent } from "node:https"; // ... { jira: { projectKey: "ABC", url: "https://example.org", }, http: { proxy: { host: "https://example.org", port: 1234, auth: { username: 'john', password: 'supersecret' } } } }
import { Agent } from "node:https"; // ... { jira: { projectKey: "ABC", url: "https://example.org", }, // only jira or only xray configuration are also possible, no need to define both http: { jira: { proxy: { host: "https://example.org", port: 1234, auth: { username: 'john in jira', password: 'supersecret' } } }, xray: { proxy: { host: "http://1.2.3.4", port: 1234, auth: { username: 'john but xray now', password: 'supersecret' } } } } }
424 tests 424 :white_check_mark: 0s :stopwatch: 1 suites 0 :zzz: 1 files 0 :x:
Results for commit 7003913b.
:recycle: This comment has been updated with latest results.
Breaking changes:
openSSL
optionOPENSSL_ROOT_CA_PATH
environment variableOPENSSL_SECURE_OPTIONS
environment variableNew features:
added
http
option