Re: why spice server is not aware of client-disconnection.

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

 



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@xxxxxxxxxxxxxxxxxxxxx
> 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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]