• E
    admin: Add support for connection close callbacks · 6dd7e42d
    Erik Skultety 提交于
    As we need a client disconnect handler, we also need a mechanism to register
    such handlers for a client. This patch introduced both the close callbacks and
    also the client vshAdmCatchDisconnect handler to be registered with it. By
    registering the handler we still need to make sure the client can react to
    daemon's events like disconnect or keepalive, so asynchronous I/O event polling
    is necessary to be enabled too.
    6dd7e42d
libvirt-admin.c 14.3 KB