jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] Work around mockwebserver hangs in S3 tests (#502)
Date Thu, 02 Oct 2014 02:42:44 GMT
> @@ -280,7 +280,6 @@ protected void writeNothing(HttpURLConnection connection) {
>           // HttpUrlConnection strips Content-Length: 0 without setDoOutput(true)
>           String method = connection.getRequestMethod();
>           if ("POST".equals(method) || "PUT".equals(method)) {
> -            connection.setFixedLengthStreamingMode(0);

>  I would just rebase this, switch 0 to 0L and merge. 

It's [already a long](https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/http/internal/JavaUrlHttpCommandExecutorService.java#L283).
I haven't seen the problem occur recently - will keep monitoring: if it's gone, great, otherwise
the long switch unfortunately doesn't seem to be the problem ;-)

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/502/files#r18320249
Mime
View raw message