From 20caffd2b361bcad51692998411e4cc566c04b40 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 16 Oct 2009 22:39:21 -0700 Subject: A major overhaul of I/O routines, creating perform_io(). Files-from data is now sent as multiplexed I/O so that it can mingle with any messages (such as debug output). Requires protocol 31. Protocol 31 no longer disables output verbosity in a couple instances that used to cause protocol issues. Got rid of MSG_* messages that have implied raw data that follows after them. We instead send a negative index value as a part of the raw data stream, which is guaranteed to be output together with the following data. This only affects the (in-progress) protocol 31 and the (self- contained) communication stream from the receiver to the generator. Added --debug=IO and improved --debug=FLIST. Some --debug=IO output requires --msgs2stderr to be used to see it (i.e. sending a message about sending a message would send another message, ad infinitum). --- options.c | 1 + 1 file changed, 1 insertion(+) (limited to 'options.c') diff --git a/options.c b/options.c index 3c72eaed..66820b54 100644 --- a/options.c +++ b/options.c @@ -279,6 +279,7 @@ static struct output_struct debug_words[COUNT_DEBUG+1] = { DEBUG_WORD(HASH, W_SND|W_REC, "Debug hashtable code"), DEBUG_WORD(HLINK, W_SND|W_REC, "Debug hard-link actions"), DEBUG_WORD(ICONV, W_CLI|W_SRV, "Debug iconv character conversions (levels 1-2)"), + DEBUG_WORD(IO, W_CLI|W_SRV, "Debug I/O routines (levels 1-4)"), DEBUG_WORD(OWN, W_REC, "Debug ownership changes in users & groups (levels 1-2)"), DEBUG_WORD(PROTO, W_CLI|W_SRV, "Debug protocol information"), DEBUG_WORD(RECV, W_REC, "Debug receiver functions"), -- cgit v1.2.3