]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Delete the timeout timer when the connection has connected
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 4 Jul 2017 18:59:29 +0000 (14:59 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 4 Jul 2017 18:59:29 +0000 (14:59 -0400)
src/main/connection.c

index a2b199688f4c10f885da4ce56df9eb2669906784..fe19c32df046f223480a6093e563e1a8cd015ea7 100644 (file)
@@ -191,6 +191,7 @@ static void _connection_writable(UNUSED fr_event_list_t *el, UNUSED int sock, UN
        case FR_CONNECTION_STATE_CONNECTED:
                DEBUG2("Connection established");
                STATE_TRANSITION(FR_CONNECTION_STATE_CONNECTED);
+               fr_event_timer_delete(conn->el, &conn->connection_timer);
                return;
 
        /*