Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Fixes #46 #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixes #46 #47

wants to merge 1 commit into from

Conversation

ibiBgOR
Copy link

@ibiBgOR ibiBgOR commented Apr 22, 2017

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

Related Issue: #46

@fabianonline
Copy link
Owner

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants