Skip to content

Commit 0684d0f

Browse files
committed
Ignore subsequent tickets
1 parent 2941692 commit 0684d0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/interop/interop.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,9 @@ class InteropConnection {
678678
}
679679
break;
680680
case QUIC_CONNECTION_EVENT_RESUMPTION_TICKET_RECEIVED:
681+
if (pThis->ResumptionTicket) {
682+
break; // Ignore any additional tickets
683+
}
681684
pThis->ResumptionTicketLength = Event->RESUMPTION_TICKET_RECEIVED.ResumptionTicketLength;
682685
pThis->ResumptionTicket = new uint8_t[pThis->ResumptionTicketLength];
683686
memcpy(

0 commit comments

Comments
 (0)