xapi-project/xen-api — pull request #2071 by kaifengz (2014-12-30 04:12:42+00:00)
Title: CA-153127: Enable master connection watchdog

The master connection watchdog did not take effect as
a) Only the processing time of the HTTP response was treated as the lasting time to compare with the timeout value;
b) The watchdog thread was not started.

So extend the scope of with_timestamp and start the watchdog thread in slave before attempting to communicate with pool master.