> @@ -100,7 +100,7 @@ protected HttpResponse invoke(HttpURLConnection 
> connection) throws IOException,
>        HttpResponse.Builder<?> builder = HttpResponse.builder();
>        InputStream in = null;
>        try {
> -         in = consumeOnClose(connection.getInputStream());
> +         in = connection.getInputStream();

> My best guess is that consuming the entire stream is necessary to reuse a 
> HTTP connection, possibly working around some other broken code.

Do we have a test somewhere that could help us find out whether we can still 
reuse the connection even with this change?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/435/files#r14687324

Reply via email to