Skip to content

Commit 9467c26

Browse files
committed
Rename FlushIfUnblocked to FromResumptionTicket
1 parent fef99c3 commit 9467c26

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/core/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3087,7 +3087,7 @@ QuicConnProcessPeerTransportParameters(
30873087
&Connection->Streams,
30883088
Connection->PeerTransportParams.InitialMaxBidiStreams,
30893089
Connection->PeerTransportParams.InitialMaxUniStreams,
3090-
!FromResumptionTicket);
3090+
FromResumptionTicket);
30913091

30923092
if (FromResumptionTicket) {
30933093
//

src/core/stream_set.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ QuicStreamSetInitializeTransportParameters(
347347
_Inout_ QUIC_STREAM_SET* StreamSet,
348348
_In_ uint64_t BidiStreamCount,
349349
_In_ uint64_t UnidiStreamCount,
350-
_In_ BOOLEAN FlushIfUnblocked
350+
_In_ BOOLEAN FromResumptionTicket
351351
)
352352
{
353353
QUIC_CONNECTION* Connection = QuicStreamSetGetConnection(StreamSet);
@@ -424,7 +424,7 @@ QuicStreamSetInitializeTransportParameters(
424424
}
425425

426426
if (UpdateAvailableStreams) {
427-
if (FlushIfUnblocked) {
427+
if (!FromResumptionTicket) {
428428
QuicStreamSetIndicateStreamsAvailable(StreamSet);
429429
} else {
430430
//
@@ -438,7 +438,7 @@ QuicStreamSetInitializeTransportParameters(
438438
}
439439
}
440440

441-
if (MightBeUnblocked && FlushIfUnblocked) {
441+
if (MightBeUnblocked && !FromResumptionTicket) {
442442
//
443443
// We opened the window, so start send. Rather than checking
444444
// the streams to see if one is actually unblocked, we risk starting

src/core/stream_set.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ QuicStreamSetInitializeTransportParameters(
131131
_Inout_ QUIC_STREAM_SET* StreamSet,
132132
_In_ uint64_t BidiStreamCount,
133133
_In_ uint64_t UnidiStreamCount,
134-
_In_ BOOLEAN FlushIfUnblocked
134+
_In_ BOOLEAN FromResumptionTicket
135135
);
136136

137137
//

0 commit comments

Comments
 (0)