Implementation of server routing generic functionality and for readconnrouter

This commit is contained in:
Mark Riddoch
2014-06-27 12:07:47 +01:00
parent 52646a9942
commit 25d4f784bc
7 changed files with 233 additions and 15 deletions

View File

@ -26,6 +26,7 @@
*
* Date Who Description
* 14/06/13 Mark Riddoch Initial implementation
* 27/06/14 Mark Riddoch Addition of server weight percentage
*
* @endverbatim
*/
@ -39,6 +40,7 @@
typedef struct backend {
SERVER *server; /*< The server itself */
int current_connection_count; /*< Number of connections to the server */
int weight; /*< Desired routing weight */
} BACKEND;
/**