diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2013-07-04 14:18:46 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2013-07-04 14:18:46 +0300 |
commit | dee6ad3d5915422bc30a6821efeacaeb8ca8ef00 (patch) | |
tree | 1d7ed417efbe88860df208afaf0b96ed7ed07afd /src/xz/main.c | |
parent | xz: Don't set src_eof=true after an I/O error because it's useless. (diff) | |
download | xz-dee6ad3d5915422bc30a6821efeacaeb8ca8ef00.tar.xz |
xz: Add preliminary support for --flush-timeout=TIMEOUT.
When --flush-timeout=TIMEOUT is used, xz will use
LZMA_SYNC_FLUSH if read() would block and at least
TIMEOUT milliseconds has elapsed since the previous flush.
This can be useful in realtime-like use cases where the
data is simultanously decompressed by another process
(possibly on a different computer). If new uncompressed
input data is produced slowly, without this option xz could
buffer the data for a long time until it would become
decompressible from the output.
If TIMEOUT is 0, the feature is disabled. This is the default.
This commit affects the compression side. Using xz for
the decompression side for the above purpose doesn't work
yet so well because there is quite a bit of input and
output buffering when decompressing.
The --long-help or man page were not updated yet.
The details of this feature may change.
Diffstat (limited to 'src/xz/main.c')
0 files changed, 0 insertions, 0 deletions