summaryrefslogtreecommitdiff
path: root/io.c
AgeCommit message (Expand)AuthorFilesLines
2005-03-09- Made an overflow in read_vstring() return an error instead of dying.Wayne Davison1-8/+2
2005-03-05- Made the sock_{in,out} variables non-static.Wayne Davison1-20/+36
2005-03-04Transformed the push/pop functions for the redo-list into moreWayne Davison1-32/+44
2005-03-04Added read_vstring() and write_vstring() to io.c instead ofWayne Davison1-0/+39
2005-03-04- Got rid of the checking of msg_fd_in in read_timeout() -- it wasWayne Davison1-15/+18
2005-03-01Changed remote_filesfrom_file to filesfrom_host.Wayne Davison1-2/+2
2005-02-27Don't loop forever when the receiver is waiting around to be killedWayne Davison1-1/+3
2005-02-26One more comment fix.Wayne Davison1-13/+12
2005-02-26Fixed comment.Wayne Davison1-2/+2
2005-02-26If kluge_around_eof is < 0, we go into an msleep() loop insteadWayne Davison1-8/+12
2005-02-26Improved the comment for kludge_around_eof.Wayne Davison1-2/+4
2005-02-26Calling maybe_send_keepalive() for protocol_version < 29 isWayne Davison1-0/+2
2005-02-25- Added variable "ignore_timeout" that lets the generator tellWayne Davison1-1/+16
2005-02-20Handle the new MSG_SUCCESS message for both the generator and theWayne Davison1-0/+18
2005-02-19- Allow send_msg() to be called by the delete code in flist.c andWayne Davison1-3/+30
2005-02-18Added read_short() and write_short().Wayne Davison1-4/+22
2005-02-01In read_sum_head: output the who_am_i() info in our error messages.Wayne Davison1-5/+6
2005-01-31Tweaked one or more warning messages.Wayne Davison1-1/+1
2005-01-28Use the new SIZEOF_INT64 define instead of INT64_IS_OFF_T.Wayne Davison1-13/+10
2005-01-19Moved write_sum_head() here from generator.c.Wayne Davison1-0/+17
2005-01-17Moved read_sum_head() here from sender.c (because the generator uses itWayne Davison1-0/+25
2005-01-14For the "unexpected tag" or "multiplexing overflow" messages, weWayne Davison1-3/+5
2004-12-31The code that tries to read an error from the socket in an abnormal-Wayne Davison1-1/+1
2004-11-20Some minor improvements to read_msg_fd() made it safe to use bothWayne Davison1-10/+13
2004-11-03Checking in the g2r-basis-filename patch that ensures that the receiverWayne Davison1-1/+12
2004-08-02- Changed "read so far" to "received so far".Wayne Davison1-4/+4
2004-07-29Added close_multiplexing_in() and renamed io_multiplexing_close()Wayne Davison1-4/+9
2004-07-29If we fail writing to the socket and we're receiving error messagesWayne Davison1-0/+7
2004-07-24Call write_stream_flags() from start_write_batch().Wayne Davison1-0/+2
2004-07-22Changed NO_INT64 to INT64_IS_OFF_T because off_t might actually beWayne Davison1-10/+13
2004-07-21Added batch_gen_fd.Wayne Davison1-0/+1
2004-07-20Made write_sbuf() non-static.Wayne Davison1-2/+1
2004-07-17A very minor optimization was made to read_sbuf(), read_byte(),Wayne Davison1-4/+4
2004-07-17Revamped some of the io variables and calls to make the various I/OWayne Davison1-110/+109
2004-07-15My modified version of Chris Shoemaker's improved batch-file handling.Wayne Davison1-0/+38
2004-06-23Fixed a newly-introduced problem in read_timeout() where FD_ZERO(&w_fds)Wayne Davison1-4/+2
2004-06-19Must not call check_timeout() before checking the errno value.Wayne Davison1-2/+2
2004-06-09Renamed read_unbuffered() to readfd_unbuffered() so that it matchesWayne Davison1-6/+5
2004-06-08- Made the maximum-fd computation prior to a select() use the same idiomWayne Davison1-40/+38
2004-06-08Improved a comment in read_msg_fd() and made the byte-reading codeWayne Davison1-20/+17
2004-06-07Increase the size of the message-receving buffer for errorWayne Davison1-2/+2
2004-06-06- Got rid of some useless calls to msg_list_push().Wayne Davison1-12/+16
2004-06-06Make sure our select calls don't sleep for over one minute at a time,Wayne Davison1-9/+7
2004-06-06Don't use single-line "if (condition) statement;" idiom.Wayne Davison1-16/+21
2004-05-27Improvements to make --bwlimit work better.Wayne Davison1-6/+38
2004-05-15Changed rprintf() calls that included strerror() to use rsyserr().Wayne Davison1-25/+22
2004-05-08Improved the function comments for read_line() and slightly tweakedWayne Davison1-18/+13
2004-01-16Output an error before we die if we get a wacko message from the receiver.Wayne Davison1-2/+7
2004-01-15- Moved the err_list* stuff here from log.c and renamed them msg_list*.Wayne Davison1-86/+230
2004-01-02Some minor changes to some if statements.Wayne Davison1-18/+17