commit | 59397a8e055faa0e2ed05b20785e43c03db86a1a | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Wed Jul 06 15:10:01 2016 -0700 |
committer | Christopher Tate <ctate@google.com> | Wed Jul 06 16:27:32 2016 -0700 |
tree | e2f8d7afac44f144138328675ec50aabd162ede6 | |
parent | a2a6533d65d195950b27788813d66821ada4bbc2 [diff] |
Explicitly flush compress/encrypt stream before close We're losing the stream footer for mysterious reasons; maybe this will help even though supposedly close() is expected to flush pending buffered writes anyway. In particular, an explicit flush of the compression stage will generate a SYNC_FLUSH point, which ordinary deflate-at-close operation does not. Bug 28056941 Change-Id: I96580411257932d7addb176c6672eae72a5ac6f7