xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #257, comment 12


Ignore:
Timestamp:
03/01/13 05:49:15 (8 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #257, comment 12

    initial v1  
    1616         self.last_user_event = time.time()
    1717}}}
     18This should make sure we disconnect from the server end, though I would have thought that the client would realize the connection is dead within 1 minute or so as it doesn't get the ping reply.
     19
     20Also, I don't see why it would help as the server code already does this:
     21{{{
     22protocol.flush_then_close(["disconnect", reason])
     23}}}
     24But maybe the write flushing spins endlessly - in which case we may need yet more code to deal with that.. (make it timeout eventually)