Subject: Session resume doesn't take profile's host list into account

From: Josh Lukens <[email-masked]>
Date: Thu, 17 Jul 2014 21:52:49 -0400

Package: x2gobroker
Version: 0.0.3.0
Severity: normal

When a broker has multiple profiles with mutually exclusive host lists but a shared database session state is appropriately sent to the client when listing sessions but if a user attempts to select a non-suspended profile the suspended (different) profile will be resumed instead.

Draft patch attached which filters both load balancing decisions and resume decisions based on server_list for selected profile.  Patch is really only a handful of lines but indentation of other lines bloats diff.