Re: [Spice-devel] why spice server is not aware of client-disconnection.

2013-05-15 Thread David Jaša
This is because spice relies on default tcp behaviour. IMO the only alternative is to have some heartbeat in main channel that would initiate client disconnection if the connection is interrupted. Spice behaviour is analogous to e.g. IRC behaviour while the latter is similar to e.g. XMPP/Jabber

[Spice-devel] why spice server is not aware of client-disconnection.

2013-05-14 Thread bigclouds
hi,all look at the output of netstat, it is after at least 30minutes i un-plug cable. how to make server know client's disconnect and disconnect channels(clean channels). tcp0 0 192.168.5.240:5903 192.168.5.163:60029 ESTABLISHED 31315/qemu-kvm tcp0

Re: [Spice-devel] why spice server is not aware of client-disconnection.

2013-05-14 Thread Alon Levy
On Tue, 2013-05-14 at 17:38 +0800, bigclouds wrote: hi,all look at the output of netstat, it is after at least 30minutes i un-plug cable. how to make server know client's disconnect and disconnect channels(clean channels). tcp0 0 192.168.5.240:5903

Re: [Spice-devel] why spice server is not aware of client-disconnection.

2013-05-14 Thread Marc-André Lureau
Hi - Mensaje original - We don't have any keep alive. Do you know if there is a reason? (perhaps I am missing something obvious) ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org