<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>Yonit Halperin:</div><div>1.you mean the patch is for client?</div><div>2.where is the code in client side from which i can get channel's status. if it is disconnected, i close client throught client's code.</div><div>3.i notice that there is 'session' .   for client what does it mean?  whether cleaning(close) session means close client?</div><div> </div><div>thanks<br><br><br><br></div><div></div><div id="divNeteaseMailCard"></div><div></div><pre><br>At 2013-05-22 02:52:14,"Yonit Halperin" <yhalperi@redhat.com> wrote:
>On 05/20/2013 10:39 PM, bigclouds wrote:
>> 1.is there a solution now?
>> server may disconnect some of spice channels, but client does not
>> reconnect , how to do with this?
>> close client  or let client reconnect?
>
>This patch hasn't been pushed. We concluded that the policy of 
>disconnecting the client when one of the channels shutdown should be on 
>the client side.
>> 2.
>> where is the code from which we can get socket signal(error,EPIPE..)
>> when channel disconnected.
>
>For most of the channels, you can find it in red_channel.c . For the 
>sound and record channels, it is in snd_worker.c (snd_send_data, 
>snd_receive).
>
>> thanks
>>
>>
>>
>> ÔÚ 2013-05-08 23:57:54£¬"Marc-Andr¨¦ Lureau" <marcandre.lureau@gmail.com>
>> Ð´µÀ£º
>>
>>
>>     On Wed, May 8, 2013 at 5:03 PM, Yonit Halperin <yhalperi@redhat.com
>>     <mailto:yhalperi@redhat.com>> wrote:
>>
>>         I can live with that. Maybe we should add to spice-gtk a user
>>         notification when a channel gets suddenly disconnected.
>>
>>
>>
>>     Since UI don't share same designs, the best place for such dialog
>>     is virt-viewer (or Boxes etc).
>>
>>     We already have a similar channel-event handler for the main channel
>>     in virt-viewer-session-spice.c, this can easily be extended to cover
>>     other disconnections
>>
>>     --
>>     Marc-Andr¨¦ Lureau
>>
>>
>>
>
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>