File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1591,6 +1591,7 @@ QuicConnTryClose(
1591
1591
Connection -> CloseErrorCode = QUIC_ERROR_INTERNAL_ERROR ;
1592
1592
} else {
1593
1593
Connection -> CloseStatus = QuicErrorCodeToStatus (ErrorCode );
1594
+ CXPLAT_DBG_ASSERT (ErrorCode <= QUIC_VAR_INT_MAX );
1594
1595
Connection -> CloseErrorCode = ErrorCode ;
1595
1596
if (QuicErrorIsProtocolError (ErrorCode )) {
1596
1597
QuicPerfCounterIncrement (
@@ -4415,7 +4416,7 @@ QuicConnRecvFrames(
4415
4416
// In closing state, respond to any packet with a new close frame (rate-limited).
4416
4417
//
4417
4418
if (Closed && !Connection -> State .ShutdownComplete ) {
4418
- if (RecvTime - Connection -> LastCloseResponseTimeUs >= QUIC_CLOSING_RESPONSE_MIN_INTERVAL_US ) {
4419
+ if (RecvTime - Connection -> LastCloseResponseTimeUs >= QUIC_CLOSING_RESPONSE_MIN_INTERVAL ) {
4419
4420
QuicSendSetSendFlag (
4420
4421
& Connection -> Send ,
4421
4422
Connection -> State .AppClosed ?
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ CXPLAT_STATIC_ASSERT(
322
322
// Minimum interval (in microseconds) between CONNECTION_CLOSE responses in
323
323
// closing state.
324
324
//
325
- #define QUIC_CLOSING_RESPONSE_MIN_INTERVAL_US 5000
325
+ #define QUIC_CLOSING_RESPONSE_MIN_INTERVAL 5000
326
326
327
327
//
328
328
// The default value for keep alives being enabled or not.
You can’t perform that action at this time.
0 commit comments