Skip to content

Commit

Permalink
QUIC: Note that we do not retransmit stream data for retransmitted st…
Browse files Browse the repository at this point in the history
…reams

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #21135)
  • Loading branch information
hlandau authored and paulidale committed Jul 16, 2023
1 parent 28d0e35 commit c407d5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ssl/quic/quic_fifd.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ static void on_lost(void *arg)
sstream_updated = 0;

if (chunks[i].end >= chunks[i].start) {
/*
* Note: If the stream is being reset, we do not need to retransmit
* old data as this is pointless. In this case this will be handled
* by (sstream == NULL) above as the QSM will free the QUIC_SSTREAM
* and our call to get_sstream_by_id above will return NULL.
*/
ossl_quic_sstream_mark_lost(sstream,
chunks[i].start, chunks[i].end);
sstream_updated = 1;
Expand Down

0 comments on commit c407d5e

Please sign in to comment.