MCPcopy Create free account
hub / github.com/RsyncProject/rsync / io_end_buffering_out

Function io_end_buffering_out

io.c:1422–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1420}
1421
1422void io_end_buffering_out(BOOL free_buffers)
1423{
1424 if (msgs2stderr == 1 && DEBUG_GTE(IO, 2)) {
1425 rprintf(FINFO, "[%s] io_end_buffering_out(IOBUF_%s_BUFS)\n",
1426 who_am_i(), free_buffers ? "FREE" : "KEEP");
1427 }
1428
1429 io_flush(FULL_FLUSH);
1430
1431 if (free_buffers) {
1432 free_xbuf(&iobuf.out);
1433 free_xbuf(&iobuf.msg);
1434 }
1435
1436 iobuf.out_fd = -1;
1437}
1438
1439void maybe_flush_socket(int important)
1440{

Callers 2

io_end_multiplex_outFunction · 0.85
send_file_listFunction · 0.85

Calls 4

io_flushFunction · 0.85
free_xbufFunction · 0.85
rprintfFunction · 0.70
who_am_iFunction · 0.70

Tested by

no test coverage detected