diff options
author | sin <sin@2f30.org> | 2014-09-18 10:45:55 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-18 11:47:40 +0100 |
commit | 9ec6ecb6fc5ef2551b705aa01c01dbe880696881 (patch) | |
tree | 56c532e6b022c26b0fd14a1acf494f76424a1283 /arg.h | |
parent | 184804c60c2112538fa3adbe8e4d06c1bdcb29e7 (diff) |
Rework file-transfers
For aborted transfers, we will have to move the transfer to the
TRANSFER_KILLED state. Then we'll have to wait until the input
FIFO stops being readable (the user ^C the transfer). Only then can
we move to TRANSFER_NONE.
If we move to TRANSFER_NONE immediately then we will initiate a
new transfer which we don't want to do.
The basic idea is:
If we move into the TRANSFER_KILLED state and timeout has expired (50ms?)
without the fd being readable (the user did a ^C on cat file > file_in)
then move the transfer to TRANSFER_NONE state.
Diffstat (limited to 'arg.h')
0 files changed, 0 insertions, 0 deletions