Skip to content

Commit

Permalink
quic: remove no-longer relevant TODO statements
Browse files Browse the repository at this point in the history
PR-URL: #34498
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
jasnell committed Jul 27, 2020
1 parent 2fb92f4 commit 0666429
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/internal/quic/core.js
Expand Up @@ -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'));
}
Expand Down Expand Up @@ -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'));
}
Expand Down

0 comments on commit 0666429

Please sign in to comment.