Skip to content

Commit 0666429

Browse files
committed
quic: remove no-longer relevant TODO statements
PR-URL: #34498 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 2fb92f4 commit 0666429

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/quic/core.js

-2
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,6 @@ class QuicSession extends EventEmitter {
18581858

18591859
if (!this[kHandshakePost]()) {
18601860
if (typeof state.handshakeCompletePromiseReject === 'function') {
1861-
// TODO(@jasnell): Proper error
18621861
state.handshakeCompletePromiseReject(
18631862
new ERR_OPERATION_FAILED('Handshake failed'));
18641863
}
@@ -2005,7 +2004,6 @@ class QuicSession extends EventEmitter {
20052004
state.closePromiseResolve();
20062005

20072006
if (typeof state.handshakeCompletePromiseReject === 'function') {
2008-
// TODO(@jasnell): Proper error
20092007
state.handshakeCompletePromiseReject(
20102008
new ERR_OPERATION_FAILED('Handshake failed'));
20112009
}

0 commit comments

Comments
 (0)