shaka-packager/packager
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
..
app Workaround Edge problem with non-zero clear lead 2017-07-06 22:48:09 +00:00
buildtools/third_party Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
hls Write manifests atomically 2017-07-07 11:05:19 -07:00
media Write manifests atomically 2017-07-07 11:05:19 -07:00
mpd Write manifests atomically 2017-07-07 11:05:19 -07:00
testing Get rid of svn dependencies 2015-10-16 20:11:20 +00:00
third_party Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
tools Fix pssh README to avoid confusion 2017-03-03 16:13:25 -08:00
version Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
common.gypi Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
packager.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00
packager.gyp Move status.h under packager/ 2017-06-30 11:35:18 -07:00
packager.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
packager_test.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00
protoc.gypi Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
status.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status_test_util.h Move status.h under packager/ 2017-06-30 11:35:18 -07:00
status_unittest.cc Move status.h under packager/ 2017-06-30 11:35:18 -07:00