[ 
https://jira.codehaus.org/browse/MRM-684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter reopened MRM-684:
------------------------------

      Assignee: Brett Porter  (was: Olivier Lamy)

I think you meant something different - archiva will still block when it has to 
proxy a large artifact from a remote source.

It would be better to send the HEAD response, and stream some content as soon 
as possible. The only catch is deciding what to do with the connection if a 
remote checksum failure occurs after already starting to stream the content.
                
> Clients timeout due to Archiva blocking when downloading large files
> --------------------------------------------------------------------
>
>                 Key: MRM-684
>                 URL: https://jira.codehaus.org/browse/MRM-684
>             Project: Archiva
>          Issue Type: Bug
>          Components: WebDAV Interface
>    Affects Versions: 1.0, 1.0.1
>            Reporter: James William Dumay
>            Assignee: Brett Porter
>             Fix For: 1.4-M2
>
>         Attachments: wagon-streaming.patch
>
>
> Clients connecting to Archiva may time out when Archiva is proxying large 
> files from an up stream remote repository.
> Internally, Archiva uses Wagon and Plexus webdav which can only reference 
> resources as JAVA File objects. Thus, Archiva must wait until Wagon has 
> finished downloading from the remote repository before it can return the 
> valid File object to the Plexus Webdav Servlet.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to