taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stian Soiland-Reyes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAVERNA-893) Make download code more robust.
Date Fri, 12 Feb 2016 13:19:18 GMT

    [ https://issues.apache.org/jira/browse/TAVERNA-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144565#comment-15144565

Stian Soiland-Reyes commented on TAVERNA-893:

I inspected taverna-download-impl - and it wrongly saves the 300 Multiple Choice files if
you don't have digestAlgorithm checks enabled, e.g. using download(URL source, File destination)

It also had a 30 millisecond timeout on HTTP retrieval, I think this was meant to be 30 seconds,
so I'll fix that.

I think it should be fixed to use HTTP Components https://hc.apache.org/ instead of FileUtils
- this would improve handling of caching and redirection etc.

> Make download code more robust.
> -------------------------------
>                 Key: TAVERNA-893
>                 URL: https://issues.apache.org/jira/browse/TAVERNA-893
>             Project: Apache Taverna
>          Issue Type: Bug
>          Components: Taverna OSGi
>            Reporter: Gale Naylor
>            Assignee: Stian Soiland-Reyes
>            Priority: Minor
> Ensure download code saves only valid POM files. 

This message was sent by Atlassian JIRA

View raw message