[ 
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
(v6.3.4#6332)

Reply via email to