Commit Graph

36 Commits

Author SHA1 Message Date
levlam
097f3d42e1 Fix error code in on_upload_error/on_download_error. 2022-09-20 02:02:28 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
ddbca1bb16 Use different resource limit for upload and download connections. 2022-07-28 17:34:29 +03:00
levlam
86c130a462 Minor fixes. 2022-06-21 02:55:53 +03:00
levlam
97d82e8edb Unlink files in FileLoadManager thread. 2022-06-16 13:32:14 +03:00
levlam
ed7b8f3a19 Move read_file_part to FileLoadManager thread. 2022-06-16 00:25:47 +03:00
levlam
62a97d8eb6 Simplify FileLoadManager::get_content. 2022-06-15 21:40:23 +03:00
levlam
1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam
0bc767f943 Pass max_resource_limit as parameter to ResourceManager. 2022-05-20 16:11:31 +03:00
levlam
4652292037 Use count instead of find if appropriate. 2022-05-01 23:03:06 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
9cecc116f3 Prefer US spelling of "canceled". 2021-05-31 21:51:48 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
093ba9c9d4 Change offset and limit simultaneously.
GitOrigin-RevId: eb07ec70a9048c4b5a5a5e0f1e17431b8528e6de
2020-08-25 18:58:37 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
Arseny Smirnov
206fbc0686 downloadFile: add limit:int32
GitOrigin-RevId: 395d29e8383db5c54a3f85a555c4e9648546ef47
2019-02-18 22:08:05 +03:00
levlam
15dda847f4 Fix storage fast statistics after file checking.
GitOrigin-RevId: c912dc17c00ba61e1ad5b11bf6d411783fba58df
2019-01-11 20:08:56 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
Arseny Smirnov
e60c9ab24d File: handle FILE_PART_INVALID error, fix expected_size usage
GitOrigin-RevId: e9c583993737194785e0f36742507724810e163c
2018-12-27 11:34:36 +03:00
Arseny Smirnov
da6a7ec512 Files: pass file size from FileDownloader to FileManager
GitOrigin-RevId: eb02bc323973b26b0306a84c5efadbb581bbef82
2018-12-27 00:42:26 +03:00
Arseny Smirnov
3b238f6fba Files streaming
GitOrigin-RevId: 78df1cd44c95380cd4af46f4db809ce28876db1f
2018-11-11 15:38:04 +04:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
Arseny Smirnov
50a5098b0f FileLoadManager: hangup bugfix
GitOrigin-RevId: 7d8a922dfd3e07769507123e39df66d7ea3d00d3
2018-06-07 14:37:42 +03:00
levlam
faf9be4231 Better file download debug.
GitOrigin-RevId: f2e33254bca1c1012f2d8f333554b039b47be3ce
2018-05-30 20:50:11 +03:00
levlam
3f8be23cd2 Fix calling file load callbacks on closing.
GitOrigin-RevId: 1b1bad8bdd255332cdca2ece6cffd3ce16cfc7e2
2018-05-24 01:30:47 +03:00
Arseny Smirnov
5e79712797 set/get passport data
GitOrigin-RevId: 4fe8b44738ac91524a0d286db5d33d338b5b75e8
2018-04-03 20:49:07 +03:00
levlam
41bd7c7428 Various fixes.
GitOrigin-RevId: e96c9e6f8f159f91ec31288e36edfb5869603341
2018-03-06 19:27:52 +03:00
Arseny Smirnov
32dcdcffc5 FileLoadManager: separate resource manager for each datacenter
GitOrigin-RevId: c61103110d8f4d245e784c7f0e047c349c8840ae
2018-02-27 22:47:14 +03:00
Arseny Smirnov
9310e29ff4 Check hash of local files with same name, before download
GitOrigin-RevId: ad97f6df43eb022d5c122a950081c5d7700820f5
2018-02-26 13:05:14 +03:00
levlam
fbb2dc6ccb Use int8 for upload/download priority.
GitOrigin-RevId: 3cc1c006c5ab3989be920b4d6e7e5f49aeaa42ce
2018-01-20 14:47:53 +03:00
levlam
ed54c461ae Notify file manager when file starts to download.
GitOrigin-RevId: ee21c170dcd7098b734d31fb170e99053f64a139
2018-01-09 14:57:11 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00