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 Tue, 02 Sep 2014 15:32:43 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);

cd79a9d8 very expressly set these two values at the same time. I unfortunately can't find
any obvious hints as to why this was required and/or whether something has changed between
6 and 7 that would make this one unnecessary, but I'd be hesitant to remove it without some
more input.

@adriancole Since the original commit was from you...any light you could shine on this?

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