Re: [libvirt] [PATCH v2 1/2] rpc: Report proper close reason for keepalive disconnections

2014-12-08 Thread Martin Kletzander
On Fri, Dec 05, 2014 at 12:30:17PM +0100, Jiri Denemark wrote: On Mon, Dec 01, 2014 at 12:00:52 +0100, Martin Kletzander wrote: Whenever client socket was disconnected due to keepalive timeout, the I/O event loop did not exit and continued until the point where the hangup was found. Ending with

Re: [libvirt] [PATCH v2 1/2] rpc: Report proper close reason for keepalive disconnections

2014-12-05 Thread Jiri Denemark
On Mon, Dec 01, 2014 at 12:00:52 +0100, Martin Kletzander wrote: > Whenever client socket was disconnected due to keepalive timeout, the > I/O event loop did not exit and continued until the point where the > hangup was found. Ending with an error right away when the > keepalive times out takes ca

[libvirt] [PATCH v2 1/2] rpc: Report proper close reason for keepalive disconnections

2014-12-01 Thread Martin Kletzander
Whenever client socket was disconnected due to keepalive timeout, the I/O event loop did not exit and continued until the point where the hangup was found. Ending with an error right away when the keepalive times out takes care of this problem. Signed-off-by: Martin Kletzander --- src/rpc/virke