1
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-03-25 04:38:23 +00:00
tdesktop/Telegram/SourceFiles/storage
John Preston f2801d4775 Fix possible crash in file download after error.
Regression was introduced in 2fa2fa41c5.

In file download failed handler we suggest to try to load the file
once again to the same location. After some changes we started to
forget filename before failed handler. That resulted in large files
loading to memory instead of hard drive.

Add a precondition in FileLoader to prevent such bugs in the future.
2017-08-30 19:15:34 +03:00
..
file_download.cpp Fix possible crash in file download after error. 2017-08-30 19:15:34 +03:00
file_download.h Fix possible crash in file download after error. 2017-08-30 19:15:34 +03:00
file_upload.cpp Remove App::app(), App::uploader(), App::api(). 2017-08-25 14:39:18 +03:00
file_upload.h Remove App::app(), App::uploader(), App::api(). 2017-08-25 14:39:18 +03:00
localimageloader.cpp Fix possible crash in file download after error. 2017-08-30 19:15:34 +03:00
localimageloader.h Finalize rename / move of files. 2017-04-07 18:13:18 +03:00
localstorage.cpp Replace ContactsBox with PeerListBox in two cases. 2017-08-30 19:15:27 +03:00
localstorage.h Add faved stickers set loading and saving. 2017-08-25 12:58:13 +03:00
serialize_common.cpp Finalizing file renaming. 2017-03-04 13:23:56 +03:00
serialize_common.h Add special dc options config request. 2017-06-29 11:40:07 +03:00
serialize_document.cpp Add faved stickers set loading and saving. 2017-08-25 12:58:13 +03:00
serialize_document.h Renamed / moved a bunch of files. 2017-03-04 12:56:07 +03:00