[
https://issues.apache.org/jira/browse/CMIS-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15297968#comment-15297968
]
Laurent Mignon commented on CMIS-961:
-------------------------------------
Thank you.
I've the feeling that the problem comes from the lack of support for chunked
transfer in the native python lib. The python `requests` has special handler
for this kind of request.
https://github.com/kennethreitz/requests/blob/master/requests/adapters.py#L392
> Connection reset by peer when trying to upload a document over 2M to Alfresco
> 5.0.d
> -----------------------------------------------------------------------------------
>
> Key: CMIS-961
> URL: https://issues.apache.org/jira/browse/CMIS-961
> Project: Chemistry
> Issue Type: Bug
> Components: python-cmislib
> Affects Versions: cmislib 0.5.1
> Environment: Alfresco 5.0.d community edition on an Ubuntu 14.04 LTS
> based system.
> Reporter: Willem Ligtenberg
> Assignee: Jeff Potts
> Attachments: Sample-Bigish.pdf, Sample-Smallish.pdf
>
>
> Using Alfresco 5.0.a I was able to store large data files (up to 250M tested)
> in Alfresco using:
> doc = repo.createDocument(remoteFile, props, folder, localFile,
> properties['contentType'], None)
> Now, small files work, but any file larger than 2M fails.
> Uploading the same file using CMIS Workbench works fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)