]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
notes on localizing messages
authorAlan T. DeKok <aland@freeradius.org>
Mon, 4 Jun 2018 13:23:52 +0000 (09:23 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 4 Jun 2018 13:23:52 +0000 (09:23 -0400)
src/lib/io/network.c

index 2abd0971f5b9290e277e83a50513a2128f39a3e9..243815745051ea08ef47c9228107018d9f021e40 100644 (file)
@@ -592,7 +592,10 @@ static void fr_network_write(UNUSED fr_event_list_t *el, UNUSED int sockfd, UNUS
        /*
         *      @todo - this code is much the same as in
         *      fr_network_post_event().  Fix it so we only have one
-        *      copy!
+        *      copy!  Also, fix it so that if we get EWOULDBLOCK, we
+        *      localize *all* pending and waiting messages.  That is
+        *      so the waiting messages don't block the ring buffers
+        *      on the worker side.
         */
 
        /*