Make TLS handshake a part of Happy Eyeballs
This commit is contained in:
parent
7abd2280bc
commit
18f9512a16
2 changed files with 68 additions and 24 deletions
17
patches/@types+node+18.15.11.patch
Normal file
17
patches/@types+node+18.15.11.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/node_modules/@types/node/tls.d.ts b/node_modules/@types/node/tls.d.ts
|
||||
index 2c55eb9..a594969 100755
|
||||
--- a/node_modules/@types/node/tls.d.ts
|
||||
+++ b/node_modules/@types/node/tls.d.ts
|
||||
@@ -621,6 +621,12 @@ declare module 'tls' {
|
||||
* `identity` must use UTF-8 encoding.
|
||||
*/
|
||||
pskCallback?(hint: string | null): PSKCallbackNegotation | null;
|
||||
+
|
||||
+ /* Node.js documentation says:
|
||||
+ * "...: Any socket.connect() option not already listed."
|
||||
+ * and "signal" is one of them.
|
||||
+ */
|
||||
+ signal?: AbortSignal;
|
||||
}
|
||||
/**
|
||||
* Accepts encrypted connections using TLS or SSL.
|
Loading…
Add table
Add a link
Reference in a new issue