[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v2 2/5] Ensure client is marked for close in all error paths



On Tue, Jul 24, 2012 at 14:17:02 +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Currently if the keepalive timer triggers, the 'markClose'
> flag is set on the virNetClient. A controlled shutdown will
> then be performed. If an I/O error occurs during read or
> write of the connection an error is raised back to the
> caller, but the connection isn't marked for close. This
> patch ensures that all I/O error scenarios always result
> in the connection being marked for close.
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/rpc/virnetclient.c |   62 +++++++++++++++++++++++++++++++++++++++---------
>  1 file changed, 51 insertions(+), 11 deletions(-)

ACK

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]