forked from apache/cloudstack
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XenServer: when we receive a SESSION_INVALID, automatically log back in
It's possible for a session to be expired by the server, due to inactivity. In this case we should log back in. This also works around a problem where some other thread appears to be logging out our session, even though we're still using it (for event.from) Signed-off-by: David Scott <dave.scott@citrix.com>
- Loading branch information
David Scott
committed
Apr 28, 2014
1 parent
991c0dd
commit 9d40f56
Showing
1 changed file
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters