[dovecot/core] 062afc: lib: Add i_stream_nonseekable_try_seek()
GitHub
noreply at github.com
Tue Jun 5 17:30:07 EEST 2018
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 062afc10604ec7261f4af58d8a63d1daa231ff82
https://github.com/dovecot/core/commit/062afc10604ec7261f4af58d8a63d1daa231ff82
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-06-05 (Tue, 05 Jun 2018)
Changed paths:
M src/lib/istream-private.h
M src/lib/istream.c
Log Message:
-----------
lib: Add i_stream_nonseekable_try_seek()
This can be used by istreams to more easily implement seeking backwards when
it has to be done by first seeking back to offset 0 and reading from there.
Commit: 9a36e573ff9c683434def3787a93fa746ed95171
https://github.com/dovecot/core/commit/9a36e573ff9c683434def3787a93fa746ed95171
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-06-05 (Tue, 05 Jun 2018)
Changed paths:
M src/lib-dcrypt/istream-decrypt.c
M src/lib-dcrypt/test-stream.c
Log Message:
-----------
lib-dcrypt: istream-decrypt - Add support for seeking
Commit: f6b794b8a530d11622b3c9fdbc037ee8b201a561
https://github.com/dovecot/core/commit/f6b794b8a530d11622b3c9fdbc037ee8b201a561
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-06-05 (Tue, 05 Jun 2018)
Changed paths:
M src/lib/istream-private.h
M src/lib/istream.c
Log Message:
-----------
lib: i_stream_default_stat() - Get seekable streams' sizes by reading the stream
After the stream size is found, seek back to original offset.
Commit: 3b9fd6391ca2ab34c324013b6567451c489e427a
https://github.com/dovecot/core/commit/3b9fd6391ca2ab34c324013b6567451c489e427a
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-06-05 (Tue, 05 Jun 2018)
Changed paths:
M src/lib-compression/ostream-zlib.c
M src/lib-compression/test-compression.c
Log Message:
-----------
lib-compression: deflate ostream - Use Z_FINISH on final flush
Nowadays we have o_stream_finish(), so we can differentiate between
intermediate flush and final flush. Using this allows istream-zlib to
cleanly see that the stream ends.
Commit: 9fa09080bf1257eb22309c6a3f547cfd6d9b5d52
https://github.com/dovecot/core/commit/9fa09080bf1257eb22309c6a3f547cfd6d9b5d52
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-06-05 (Tue, 05 Jun 2018)
Changed paths:
M src/lib-compression/istream-bzlib.c
M src/lib-compression/istream-lz4.c
M src/lib-compression/istream-lzma.c
M src/lib-compression/istream-zlib.c
M src/lib-compression/test-compression.c
Log Message:
-----------
lib-compression: Use i_stream_default_stat() instead of reimplementing it
Commit: 40a5de3e2e3d6f9e881be06cebadf847710761a9
https://github.com/dovecot/core/commit/40a5de3e2e3d6f9e881be06cebadf847710761a9
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2018-06-05 (Tue, 05 Jun 2018)
Changed paths:
M src/lib-compression/istream-bzlib.c
M src/lib-compression/istream-lz4.c
M src/lib-compression/istream-lzma.c
M src/lib-compression/istream-zlib.c
M src/lib-compression/test-compression.c
Log Message:
-----------
lib-compression: Use i_stream_nonseekable_try_seek() instead of reimplementing it
Compare: https://github.com/dovecot/core/compare/d7b5be845ba6...40a5de3e2e3d
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the dovecot-cvs
mailing list