[
https://issues.apache.org/jira/browse/JCLOUDS-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184177#comment-14184177
]
ASF subversion and git services commented on JCLOUDS-264:
---------------------------------------------------------
Commit f3f8f0e01085d2f3a5033ccb918a65f630c880ef in jclouds's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=f3f8f0e ]
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)