commit | efb87c169740e618ec548c45c819a43e0ade2bab | [log] [tgz] |
---|---|---|
author | Corey Bryant <coreyb@linux.vnet.ibm.com> | Tue Aug 14 16:43:48 2012 -0400 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Aug 15 13:16:22 2012 +0200 |
tree | 4c3e144c1214ac7b3914075811e846d4374e144b | |
parent | adb696f3d8535119fe0f5363de79a29e6bda83ed [diff] |
monitor: Clean up fd sets on monitor disconnect Fd sets are shared by all monitor connections. Fd sets are considered to be in use while at least one monitor is connected. When the last monitor disconnects, all fds that are members of an fd set with no outstanding dup references are closed. This prevents any fd leakage associated with a client disconnect prior to using a passed fd. Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>