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

David Jaša djasa at redhat.com
Wed May 15 03:16:13 PDT 2013


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 (or other non-archaic IM) protocols that
detect disconnections almost instantly.

David


bigclouds píše v Út 14. 05. 2013 v 17:38 +0800:
> 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).
> 
> 
> tcp        0      0 192.168.5.240:5903          192.168.5.163:60029
> ESTABLISHED 31315/qemu-kvm      
> tcp        0      0 192.168.5.240:5903          192.168.5.163:60033
> ESTABLISHED 31315/qemu-kvm      
> tcp        0      0 192.168.5.240:5903          192.168.5.163:60028
> ESTABLISHED 31315/qemu-kvm      
> tcp        0  24815 192.168.5.240:5903          192.168.5.163:60030
> ESTABLISHED 31315/qemu-kvm      
> tcp        0      0 192.168.5.240:5903          192.168.5.163:60019
> ESTABLISHED 31315/qemu-kvm      
> tcp        0      0 192.168.5.240:5903          192.168.5.163:60027
> ESTABLISHED 31315/qemu-kvm      
> tcp        0      0 192.168.5.240:5903          192.168.5.163:60032
> ESTABLISHED 31315/qemu-kvm      
> tcp        0      0 192.168.5.240:5903          192.168.5.163:60031
> ESTABLISHED 31315/qemu-kvm &nbsp ;    
> 
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3790 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130515/5e9c4a73/attachment-0001.bin>


More information about the Spice-devel mailing list