monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] Revision fb4b8ba4506d9ec9d57ed9c2f55bf7c090e09b


From: monotone
Subject: [Monotone-commits-diffs] Revision fb4b8ba4506d9ec9d57ed9c2f55bf7c090e09b35
Date: Sun, 23 Dec 2007 22:05:21 +0100

-----------------------------------------------------------------
Revision: fb4b8ba4506d9ec9d57ed9c2f55bf7c090e09b35
Ancestor: 60668ca49891a5f12f79b0aceb885cb20459d750
Author: address@hidden
Date: 2007-12-23T20:47:24
Branch: net.venge.monotone.experimental.win32_pipes

Modified files:
        netsync.cc netxx_pipe.cc netxx_pipe.hh
        netxx_pipe_stdio_main.cc

ChangeLog: 

In netsync, terminate on protocol done, not on server disconnect, since
can't detect that for StdioStream.

* netsync.cc (session::process): Add documentation comment.
    (call_server): Terminate on session complete, in case we can't detect
    the server dropping the connection.
    (reap_dead_sessions): Fix comment; it does _not_ check for clients
    that have exchanged all items.
    (serve_single_connection): Register both file descriptors from
    StdioStream, fix termination to match.

* netxx_pipe.cc :
    (StdioStream::get_readfd): New.
    (StdioStream::get_writefd): New.
    (SpawnedStream::close): Wait for child to exit before closing sockets.
    (UNIT_TEST): Can't do 'cat' test anymore; it does not exit on its own.
    (UNIT_TEST): Improve stdio_spawn test.


Attachment: txtU6hzsj4aWr.txt
Description: Diff [60668ca49891a5f12f79b0aceb885cb20459d750] -> [fb4b8ba4506d9ec9d57ed9c2f55bf7c090e09b35]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]