[ 
https://issues.apache.org/jira/browse/CMIS-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294882#comment-15294882
 ] 

Bertrand Barraud commented on CMIS-961:
---------------------------------------

Hi,

I ended up to modify the CMIS lib, to be able to add custom headers 
parameters... when the file you want to upload is too big, for some reason one 
require parameters is not set ( can't recall the name of it ).
So I forced it, to be always set in the call I was making ( Without changing 
the initial lib behavior to not interfere with other code ).

I can give you more details on demand ( I'm not in front of my work computer 
atm ). 

Bert

> 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)

Reply via email to