]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
added "todo" note about UDP protocols
authorAlan T. DeKok <aland@freeradius.org>
Fri, 18 Nov 2016 14:35:28 +0000 (09:35 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 18 Nov 2016 16:39:24 +0000 (11:39 -0500)
src/util/message.c

index c357be06e33726e7d9949364c18cd4d14abb5adc..03eb799ed6d6e63db7a4d3717574df74f1589a5b 100644 (file)
@@ -111,7 +111,10 @@ typedef struct fr_message_ring_t {
  *  With an initial message array size of 64, this gives us room for
  *  2M packets, if *all* of the m_array entries have packets stuck in
  *  them that aren't cleaned up for extended periods of time.
- *  
+ *
+ *  @todo Add a flag for UDP-style protocols, where we can put the
+ *  message into the ring buffer.  This helps with locality of
+ *  reference, and removes the need to track two separate things.
  */
 struct fr_message_set_t {
        int                     m_current;      //!< current used message array entry