| 1437 | } |
| 1438 | |
| 1439 | void maybe_flush_socket(int important) |
| 1440 | { |
| 1441 | if (flist_eof && iobuf.out.buf && iobuf.out.len > iobuf.out_empty_len |
| 1442 | && (important || time(NULL) - last_io_out >= 5)) |
| 1443 | io_flush(NORMAL_FLUSH); |
| 1444 | } |
| 1445 | |
| 1446 | /* Older rsync versions used to send either a MSG_NOOP (protocol 30) or a |
| 1447 | * raw-data-based keep-alive (protocol 29), both of which implied forwarding of |
no test coverage detected