jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds] Work around mockwebserver hangs in S3 tests (#502)
Date Wed, 01 Oct 2014 14:35:59 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);

In master (which will become 2.0) we don't support Java 6 anymore, so I'm +1 to switching
to long.

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