Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3
-
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