]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
zombie state should be determined outside of the muxer
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 17 Apr 2023 23:42:22 +0000 (09:42 +1000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 17 Apr 2023 23:42:22 +0000 (09:42 +1000)
src/modules/rlm_radius/rlm_radius_udp.c
src/modules/rlm_tacacs/rlm_tacacs_tcp.c

index 573c2430cb7b877b1e3389da6606d23c2568a4b3..b70b238b0b35b3d915bc02184fdaac1f10a51c12 100644 (file)
@@ -1755,12 +1755,6 @@ static void request_mux(fr_event_list_t *el,
        uint16_t                i, queued;
        size_t                  total_len = 0;
 
-       /*
-        *      If the connection is zombie, then don't try to enqueue
-        *      things on it!
-        */
-       if (check_for_zombie(el, tconn, fr_time_wrap(0), h->last_sent)) return;
-
        /*
         *      Encode multiple packets in preparation
         *      for transmission with sendmmsg.
index bb73ad7d46ba78b477cdfae6032956f9bfb4d86a..bf079258793cea57dfaf4d3beecd78cb84a16034 100644 (file)
@@ -798,12 +798,6 @@ static void request_mux(fr_event_list_t *el,
        uint8_t const           *written;
        uint8_t                 *partial;
 
-       /*
-        *      If the connection is zombie, then don't try to enqueue
-        *      things on it!
-        */
-       if (check_for_zombie(el, tconn, fr_time_wrap(0), h->last_sent)) return;
-
        /*
         *      Encode multiple packets in preparation for transmission with write()
         */