
4 Feb
2016
4 Feb
'16
7:20 p.m.
On 02/03/2016 12:36 PM, Joao Martins wrote:
On 02/02/2016 11:41 PM, Jim Fehlig wrote:
Also, if the connection dies, how are we informed about that? Would that be done via the connect close callback that was removed in this version? It is not clear to me how errors on the dconn connection are handled.
In the close callback, we're just notified that the connection got closed, but I am not sure if there is much we can do about it in the handler. We could set an error on the callback, and then check dconn callers on libxlDoMigrateP2P() before any RPC calls?
Ah, nevermind. If the connection got closed, the dconn calls will fail and errors will be handled at the call sites. Regards, Jim