From: Alan T. DeKok Date: Sun, 5 Nov 2017 12:29:18 +0000 (-0500) Subject: note one more todo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a567d290ebcd6c815187a0a7d7efa127ed3f8b;p=thirdparty%2Ffreeradius-server.git note one more todo --- diff --git a/src/modules/proto_radius/proto_radius_udp.c b/src/modules/proto_radius/proto_radius_udp.c index d115ab1b5bc..8b66f5eafcf 100644 --- a/src/modules/proto_radius/proto_radius_udp.c +++ b/src/modules/proto_radius/proto_radius_udp.c @@ -119,6 +119,13 @@ static const CONF_PARSER priority_config[] = { CONF_PARSER_TERMINATOR }; + +/* + * @todo - put packets to be cleaned up in a heap or linked list, + * and then have one cleanup delay per rlm_radius_udp_t. That + * way we can have a timer which fires periodically, and then + * cleans up multiple packets. + */ static void mod_cleanup_delay(UNUSED fr_event_list_t *el, UNUSED struct timeval *now, void *uctx) { fr_tracking_entry_t *track = uctx;