From: Arran Cudbard-Bell Date: Wed, 28 Mar 2018 10:57:00 +0000 (+0100) Subject: Add heap_id field to fr_pool_connection X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5970cd904273a65dddcdb34fa1b14fd036d64bc9;p=thirdparty%2Ffreeradius-server.git Add heap_id field to fr_pool_connection --- diff --git a/src/main/pool.c b/src/main/pool.c index f2ef5662577..ad0bea110e7 100644 --- a/src/main/pool.c +++ b/src/main/pool.c @@ -47,6 +47,7 @@ static int connection_check(fr_pool_t *pool, REQUEST *request); struct fr_pool_connection { fr_pool_connection_t *prev; //!< Previous connection in list. fr_pool_connection_t *next; //!< Next connection in list. + size_t heap_id; //!< For the next connection heap. time_t created; //!< Time connection was created. struct timeval last_reserved; //!< Last time the connection was reserved. @@ -61,8 +62,6 @@ struct fr_pool_connection { //!< handle. bool in_use; //!< Whether the connection is currently reserved. - int heap; //!< For the next connection heap. - bool needs_reconnecting; //!< Reconnect this connection before use. #ifdef PTHREAD_DEBUG