handle SessionConfirmed fragments in reversed order

This commit is contained in:
orignal 2022-07-16 16:08:55 -04:00
parent 16290bf66f
commit dc30cd1112
2 changed files with 27 additions and 5 deletions

View file

@ -199,6 +199,7 @@ namespace transport
uint8_t payload[SSU2_MAX_PACKET_SIZE*2];
size_t payloadSize = 0;
uint32_t nextResendTime = 0; // in seconds
bool isSecondFragment = false; // for SessionConfirmed
};
typedef std::function<void ()> OnEstablished;