Open ibiBgOR opened 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?
No more errors while downloading files (with quite large filesize) from Telegram.
Related Issue: #46