shaka-packager/packager/mpd
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
test Replace scoped_ptr with std::unique_ptr 2016-08-18 17:12:36 -07:00
util Part one of supporting live profile with static mpd 2017-01-13 19:59:49 +00:00
mpd.gyp Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00