fabianonline / telegram_backup

Java app to download all your telegram data.
GNU General Public License v3.0
450 stars 91 forks source link

Fixes #46 #47

Open ibiBgOR opened 7 years ago

ibiBgOR commented 7 years ago

No more errors while downloading files (with quite large filesize) from Telegram.

Related Issue: #46

fabianonline commented 7 years ago

1024 bytes would be pretty small. This would lead to making lots (and lots and lots...) of requests for larger files. 1000 requests per MByte.

Previously, telegram sent chunks of no more than 1 MByte (I think), ignoring the size you specified. So I requested "all" data to get chunks as big as possible.

Perhaps some testing would be in order - perhaps setting the chunk size to 1 MByte would be fine?