summaryrefslogtreecommitdiffstats
path: root/sockutil.h
diff options
context:
space:
mode:
authorNate Straz <nstraz@redhat.com>2008-07-03 14:48:52 +0000
committerNathan Straz <nstraz@redhat.com>2008-09-23 09:37:47 -0400
commit45afaadb739b75f4ef2ce84650ff05f5a21cbf6c (patch)
tree927c9670a747db65e457b32ca829c24b28803cf4 /sockutil.h
parentd4de6a0d2339ac022d510d0ce2d629dc0a954a55 (diff)
downloadqarsh-45afaadb739b75f4ef2ce84650ff05f5a21cbf6c.tar.gz
qarsh-45afaadb739b75f4ef2ce84650ff05f5a21cbf6c.tar.xz
qarsh-45afaadb739b75f4ef2ce84650ff05f5a21cbf6c.zip
Add write file descriptors to main select() call.
When running rsync on an existing directory structure, rsync may be too busy to read everything that qarsh is writing to it from the remote rsync daemon. Create a buffer for each of stdin, stdout, and stderr and keep it around until we are able to write it, holding off further reads until it can be written. We still don't handle partial writes.
Diffstat (limited to 'sockutil.h')
0 files changed, 0 insertions, 0 deletions