Skip to content

Make packets in PacketHistory stay the only for a limited time #157

@Morcules

Description

@Morcules
  • 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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions