Jump to content
Ketarin forum

Multisegmented downloads issue


Recommended Posts

Hello there!

Looks like the problem with multi-segmented downloads still exists for some servers.

Reproducing: Set "Settings > Connection > Number of segments per download" to more than 1 and try to download https://download.teamviewer.com/download/TeamViewer_Setup.exe

At this moment the file size is 22 796 808 bytes. The downloaded file will be corrupted (no digital signature). I see duplicated PE header somewhere in the middle of the downloaded file — each segment contains data from the start of the uncorrupted file. Ketaring concatenates these chunks into a single file, making it useless.

For example, Westbyte's Download Master tries to download in parallel, starts the second section, sees no 206 response, no Content-Range headers and drops this section, continuing to download in single thread from the beginning.

GET /download/TeamViewer_Setup.exe HTTP/1.1
...
Range: bytes=12716479-
...

--------------
HTTP/1.1 200 OK
...
Content-Length: 22796808
...

Ketarin's logs:

01.06.2019 14:02:13: Update started with 1 application(s)
01.06.2019 14:02:13: TeamViewer [Win, Setup]: Using referer: https://www.teamviewer.com/en/download/windows/
01.06.2019 14:02:14: TeamViewer [Win, Setup]: Server source file: /download/TeamViewer_Setup.exe
01.06.2019 14:02:14: TeamViewer [Win, Setup]: Replacing {version} in '{SoftDir}\TeamViewer\v{version}\' with '14.2.8352'
01.06.2019 14:02:14: TeamViewer [Win, Setup]: Determined target file name: D:\Soft\TeamViewer\v14.2.8352\TeamViewer_Setup.exe
01.06.2019 14:02:14: TeamViewer [Win, Setup]: Using referer: https://www.teamviewer.com/en/download/windows/
01.06.2019 14:02:15: TeamViewer [Win, Setup]: Using referer: https://www.teamviewer.com/en/download/windows/
01.06.2019 14:02:18: TeamViewer [Win, Setup]: Replacing {version} in '{version}' with '14.2.8352'
01.06.2019 14:02:18: Update finished

I suggest that Ketarin could adopt DM's behavior or at least could notify user somehow (simply writing to log isn't enough).

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.