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

ASF subversion and git services commented on JCLOUDS-264:
---------------------------------------------------------

Commit 6f1c6621a516f7b32b720f28bdf5441d954102bf in jclouds's branch 
refs/heads/1.8.x from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=6f1c662 ]

JCLOUDS-264 Conditionally allow default http driver to support sending >2GB 
payloads without chunked encoding.


> Support >2GB payloads in a single request when running default http driver on 
> Java 7
> ------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-264
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-264
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.2, 1.7.0
>            Reporter: Andrew Gaul
>            Assignee: Adrian Cole
>             Fix For: 1.8.2
>
>
> The default http driver uses java's HttpUrlConnection, which uses an integer 
> to determine fixed length of content. This means that it cannot be used to 
> send >2GB content. The current workaround is to use an http driver that 
> supports >2GB payloads in a single request.
> This issue will conditionally allow the default driver to support >2GB 
> payloads in a single request. It will do so via conditionally using 
> setFixedLengthStreamingMode(long) on Java 7 and 
> setFixedLengthStreamingMode(int) on Java 6:
> https://gist.github.com/andrewgaul/6439757



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to