Skip to content

Commit

Permalink
we should queue up a reliable reset frame
Browse files Browse the repository at this point in the history
  • Loading branch information
ProjectsByJackHe committed Aug 21, 2023
1 parent b0cbd62 commit 49b8cb7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/core/stream_send.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,6 @@ QuicStreamSendShutdown(
}
} else {

while (ApiSendRequests != NULL) {
//
// Deliver send requests prior to aborting.
//
QUIC_SEND_REQUEST* SendRequest = ApiSendRequests;
ApiSendRequests = ApiSendRequests->Next;
QuicStreamCompleteSendRequest(Stream, SendRequest, TRUE, FALSE);
}

//
// Queue up a RESET RELIABLE STREAM frame to be sent.
//
Expand All @@ -253,6 +244,7 @@ QuicStreamSendShutdown(
Stream,
QUIC_STREAM_SEND_FLAG_FIN, // TODO; Change this.
DelaySend);

}

QuicStreamSendDumpState(Stream);
Expand Down

0 comments on commit 49b8cb7

Please sign in to comment.