-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download Progress Bar Breaks Download Functionality #1334
Comments
@deevus I can reproduce it, can you take a look at it? The download URLs for github have a redirect, maybe that's a hint |
Will have to wait until later unless someone else can give this a go
…On Tue, Feb 14, 2017 at 11:47 AM Rémy ***@***.***> wrote:
@deevus <https://github.com/deevus> I can reproduce it, can you take a
look at it?
The download URLs for github have a redirect, maybe that's a hint
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1334 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA0QgpVDla3zAsX_hSsvtE4ZpOJeFNl2ks5rcPmOgaJpZM4L_qud>
.
|
Is it currently possible for the user to disable the download bar through |
This looks like it might be a concurrency issue, where for small downloads As a temporary workaround, I've disabled progress when To fix it properly, we probably just need to ensure content has been received before reading the ContentLength property. This was a problem with the original code before the new progress bar was added, it just glitched rather than entering an infinite loop. |
Thanks Luke. I'll be sure to fix this properly when I get a chance today
…On Tue, Feb 14, 2017 at 2:03 PM Luke Sampson ***@***.***> wrote:
This looks like it might be a concurrency issue, where for small downloads
ContentLength can be read from HttpWebRequest before it has been set, and
the default of -1 causes the infinite loop.
As a temporary workaround, I've disabled progress when ContentLength < 0,
which should keep installs working until we can address this properly.
To fix it properly, we probably just need to ensure content has been
received before reading the ContentLength property. This was a problem with
the original code before the new progress bar was added, it just glitched
rather than entering an infinite loop.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1334 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA0Qgne3v54FCLc4s0KmI1Ce4Q3ouPltks5rcRmagaJpZM4L_qud>
.
|
Seems like the new download bar is breaking some download. This occurs on stuff that requires fetching resources that do not display its file size. Perhaps related to #1329?
Environment
Steps to reproduce
scoop install pshazz
orscoop install concfg
Affected apps
pshazz
concfg
The text was updated successfully, but these errors were encountered: