Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@ export interface QUIC_SESSION_WINDOW_UPDATE_FRAME {
stream_id: number
}

export interface QUIC_SESSION_MAX_STREAMS_FRAME {
is_unidirectional: boolean,
stream_count: number,
}

export interface QUIC_SESSION_STREAMS_BLOCKED_FRAME {
is_unidirectional: boolean,
stream_count: number,
}

export interface QUIC_SESSION_CRYPTO_HANDSHAKE_MESSAGE {
quic_crypto_handshake_message: string,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,30 @@ export default class NetlogToQlog {
break;
}

case 'QUIC_SESSION_MAX_STREAMS_FRAME_SENT':
case 'QUIC_SESSION_MAX_STREAMS_FRAME_RECEIVED': {
const event_params: netlogschema.QUIC_SESSION_MAX_STREAMS_FRAME = params;
const frame: qlogschema.IMaxStreamsFrame = {
frame_type: qlogschema.QUICFrameTypeName.max_streams,
stream_type: event_params.is_unidirectional ? "unidirectional" : "bidirectional",
maximum: event_params.stream_count.toString(),
};
connection.pushFrame(event_type, frame);
break;
}

case 'QUIC_SESSION_STREAMS_BLOCKED_FRAME_SENT':
case 'QUIC_SESSION_STREAMS_BLOCKED_FRAME_RECEIVED': {
const event_params: netlogschema.QUIC_SESSION_STREAMS_BLOCKED_FRAME = params;
const frame: qlogschema.IStreamsBlockedFrame = {
frame_type: qlogschema.QUICFrameTypeName.streams_blocked,
stream_type: event_params.is_unidirectional ? "unidirectional" : "bidirectional",
limit: event_params.stream_count.toString(),
};
connection.pushFrame(event_type, frame);
break;
}

case 'QUIC_SESSION_CRYPTO_HANDSHAKE_MESSAGE_SENT':
case 'QUIC_SESSION_CRYPTO_HANDSHAKE_MESSAGE_RECEIVED': {
const event_params: netlogschema.QUIC_SESSION_CRYPTO_HANDSHAKE_MESSAGE = params;
Expand Down