Jump to content
Ketarin forum

Multisegmented downloads issue


Rainie
 Share

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 comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.