You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now packets_completed stores packets that were completed.
It exists to check whether packet was accidentally sent twice and to check if large packet was completed.
To clear up memory, the goal is to track time when packet was completed using timeval and in a batch check every packet in history and if it was completed (#define PACKET_HISTORY_STORE_TIME | or something like that) ago, remove it from vector and allocator_free
Packet History is manipulated inside process_packets.c