Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-07-23 20:23:01 +0300
committerJames M Snell <jasnell@gmail.com>2020-07-27 23:33:12 +0300
commit06664298fa07442b5be6dbc891ea999f6c9e7d28 (patch)
treebe5241d9343a0bf58db1eb545e983b3e218a3b19 /lib/internal/quic
parent2fb92f4cc63d8538e6df998ad0848d74edd6085b (diff)
quic: remove no-longer relevant TODO statements
PR-URL: https://github.com/nodejs/node/pull/34498 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'lib/internal/quic')
-rw-r--r--lib/internal/quic/core.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/internal/quic/core.js b/lib/internal/quic/core.js
index a3dda49873d..6a227d3d4ae 100644
--- a/lib/internal/quic/core.js
+++ b/lib/internal/quic/core.js
@@ -1858,7 +1858,6 @@ class QuicSession extends EventEmitter {
if (!this[kHandshakePost]()) {
if (typeof state.handshakeCompletePromiseReject === 'function') {
- // TODO(@jasnell): Proper error
state.handshakeCompletePromiseReject(
new ERR_OPERATION_FAILED('Handshake failed'));
}
@@ -2005,7 +2004,6 @@ class QuicSession extends EventEmitter {
state.closePromiseResolve();
if (typeof state.handshakeCompletePromiseReject === 'function') {
- // TODO(@jasnell): Proper error
state.handshakeCompletePromiseReject(
new ERR_OPERATION_FAILED('Handshake failed'));
}