]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove retransmit timers when a connection closes
authorAlan T. DeKok <aland@freeradius.org>
Thu, 10 Aug 2017 08:42:37 +0000 (10:42 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 10 Aug 2017 09:01:44 +0000 (11:01 +0200)
src/modules/rlm_radius/rlm_radius_udp.c

index c03d431e5d73add205130fd54bb275a5f4030431..751f7a0fdfe994e81937d9a46d4fc8f9c758cc3e 100644 (file)
@@ -1184,6 +1184,7 @@ static int conn_free(rlm_radius_udp_connection_t *c)
 
                u->rr = NULL;
                u->c = NULL;
+               (void) fr_event_timer_delete(c->thread->el, &u->rr->ev);
                fr_dlist_remove(&c->entry);
                fr_dlist_insert_tail(&t->queued, &u->entry);
                t->pending = true;