You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Adrian Cole (JIRA)" <ji...@apache.org> on 2014/10/25 01:40:34 UTC

[jira] [Updated] (JCLOUDS-264) Support >2GB payloads in a single request when running default http driver on Java 7

     [ https://issues.apache.org/jira/browse/JCLOUDS-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Cole updated JCLOUDS-264:
--------------------------------
    Summary: Support >2GB payloads in a single request when running default http driver on Java 7  (was: Support > 2 GB single-part blobs when running default http driver on Java 7)

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