[jbosstools-issues] [JBoss JIRA] (JBDS-4570) Downloader class sometimes reports total download wrong when several files downloaded

Denis Golovin (JIRA) issues at jboss.org
Thu Sep 28 01:48:00 EDT 2017


Denis Golovin created JBDS-4570:
-----------------------------------

             Summary: Downloader class sometimes reports total download wrong when several files downloaded
                 Key: JBDS-4570
                 URL: https://issues.jboss.org/browse/JBDS-4570
             Project: Red Hat JBoss Developer Studio (devstudio)
          Issue Type: Bug
          Components: platform-installer
    Affects Versions: 11.1.0.AM2
            Reporter: Denis Golovin
            Assignee: Denis Golovin
             Fix For: 11.1.0.AM3


This is happening when very small and big files are downloaded at the same time. In current implementation when download finished it decrements totalDownloads counter that affects condition in responseHandler that decides all content-length headers received and it is time to set total amount for downloader. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list