• Wayne Davison's avatar
    Improve --timeout method to take into account all I/O that is going on. · 92d02148
    Wayne Davison authored
    The receiving side also switches timeout handling from the receiver to
    the generator, which obviates the need for the sender to send any
    keep-alive messages at all (for protocol 31 and beyond).  Given this
    setup, all keep-alive messages are now sent as empty MSG_DATA messages,
    with MSG_NOOP messages only being understood and (when necessary) acted
    upon to forward a keep-alive event to an older receiver.  This is both
    safer and more compatible with older versions.
    92d02148
io.c 60.1 KB