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

Andrew Phillips resolved JCLOUDS-181.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.2
                   1.7.0
         Assignee: Andrew Phillips

> Blobstores that lack proper support for 100-Continue don't work with JDK7
> -------------------------------------------------------------------------
>
>                 Key: JCLOUDS-181
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-181
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore
>    Affects Versions: 1.6.1
>            Reporter: Diwaker Gupta
>            Assignee: Andrew Phillips
>             Fix For: 1.7.0, 1.6.2
>
>
> jclouds added the "Expect: 100-Continue" to the putBlob API for most 
> blobstores sometime back. Handling of 100-continue differs between JDK6 and 
> JDK7 in that unlike JDK6, JDK7 will expect a response from the server and 
> will only time out IF a read timeout has been set on the underlying HTTP 
> connection [1].
> As a result, if applications set Constants.PROPERTY_SO_TIMEOUT and use a 
> blobstore that doesn't properly support the Expect header (i.e., doesn't 
> respond with 100-Continue) on JDK7, the putBlob operation will essentially 
> hang forever.
> Specifically, both HPCS and Google Cloud Storage are impacted by this.
> [1] 
> http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7-b147/sun/net/www/protocol/http/HttpURLConnection.java?av=f#1008



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to