Skip to content

Commit 4b063b2

Browse files
committed
quic: fixup session state toJSON reporting
1 parent 8903ef9 commit 4b063b2

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

lib/internal/quic/state.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,13 +412,13 @@ class QuicSessionState {
412412
isGracefulClose: this.isGracefulClose,
413413
isSilentClose: this.isSilentClose,
414414
isStatelessReset: this.isStatelessReset,
415-
isDestroyed: this.isDestroyed,
416415
isHandshakeCompleted: this.isHandshakeCompleted,
417416
isHandshakeConfirmed: this.isHandshakeConfirmed,
418417
isStreamOpenAllowed: this.isStreamOpenAllowed,
419418
isPrioritySupported: this.isPrioritySupported,
420419
headersSupported: this.headersSupported,
421420
isWrapped: this.isWrapped,
421+
applicationType: this.applicationType,
422422
maxDatagramSize: `${this.maxDatagramSize}`,
423423
lastDatagramId: `${this.lastDatagramId}`,
424424
};
@@ -447,7 +447,6 @@ class QuicSessionState {
447447
isGracefulClose: this.isGracefulClose,
448448
isSilentClose: this.isSilentClose,
449449
isStatelessReset: this.isStatelessReset,
450-
isDestroyed: this.isDestroyed,
451450
isHandshakeCompleted: this.isHandshakeCompleted,
452451
isHandshakeConfirmed: this.isHandshakeConfirmed,
453452
isStreamOpenAllowed: this.isStreamOpenAllowed,

lib/internal/quic/stats.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,8 @@ class QuicSessionStats {
491491
// support BigInts.
492492
createdAt: `${this.createdAt}`,
493493
closingAt: `${this.closingAt}`,
494-
destroyedAt: `${this.destroyedAt}`,
495494
handshakeCompletedAt: `${this.handshakeCompletedAt}`,
496495
handshakeConfirmedAt: `${this.handshakeConfirmedAt}`,
497-
gracefulClosingAt: `${this.gracefulClosingAt}`,
498496
bytesReceived: `${this.bytesReceived}`,
499497
bidiInStreamCount: `${this.bidiInStreamCount}`,
500498
bidiOutStreamCount: `${this.bidiOutStreamCount}`,
@@ -537,10 +535,8 @@ class QuicSessionStats {
537535
connected: this.isConnected,
538536
createdAt: this.createdAt,
539537
closingAt: this.closingAt,
540-
destroyedAt: this.destroyedAt,
541538
handshakeCompletedAt: this.handshakeCompletedAt,
542539
handshakeConfirmedAt: this.handshakeConfirmedAt,
543-
gracefulClosingAt: this.gracefulClosingAt,
544540
bytesReceived: this.bytesReceived,
545541
bidiInStreamCount: this.bidiInStreamCount,
546542
bidiOutStreamCount: this.bidiOutStreamCount,

0 commit comments

Comments
 (0)