shaka-packager/packager/hls
KongQun Yang 2db1867951 Write manifests atomically
In the original manifest updating process, the file was truncated first
before was written with new contents. There is a small chance that
the web server may read back empty file or incomplete file.

The new code makes the update operation atomic (by writing to a temporary
file first then replace the old file with the temporary file).

Fixes #186

Change-Id: I2fd564cb12b922b032c0e9f70d2132a5b12ff098
2017-07-07 11:05:19 -07:00
..
base Write manifests atomically 2017-07-07 11:05:19 -07:00
hls.gyp Fix dependency in hls.gyp 2016-07-08 14:48:47 -07:00