]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
note one more todo
authorAlan T. DeKok <aland@freeradius.org>
Sun, 5 Nov 2017 12:29:18 +0000 (07:29 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 5 Nov 2017 13:43:27 +0000 (08:43 -0500)
src/modules/proto_radius/proto_radius_udp.c

index d115ab1b5bc42f784622a9479b704ef542bd0ef1..8b66f5eafcf39ed162dfa9a715022bd99c40af75 100644 (file)
@@ -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;