Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1356

Content Lenght differs : Chunked request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.3.1
    • WebDAV Interface
    • None
    • Standalone archiva

    Description

      I'm facing some HTTP-400 errors during an artifact upload using maven 3.
      Response text is : HTTP/1.1 400 Content Header length was -1 but was 0.
      No log nor in archiva-audit.log nor in archiva.log

      diving into code I think there is a problem with content-lenght verification.
      With maven 3 the maven-deploy-plugin sent a chunked request so Content-Lenght header is empty.

      addMember (ArchivaDavResource) seems comparing request's length and uploaded file's length. Can we disable this check in case of chunked request ? is there another way to do that ?

      regards,
      marc

      Attachments

        Activity

          People

            brett Brett Porter
            mpasteur Marc Pasteur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: