> -    * Ensures the content is always flushed.
> -    * 
> -    */
> -   static class ConsumeOnCloseInputStream extends FilterInputStream {
> -
> -      protected ConsumeOnCloseInputStream(InputStream in) {
> -         super(in);
> -      }
> -
> -      boolean closed;
> -
> -      @Override
> -      public void close() throws IOException {
> -         if (!closed) {
> -            try {
> -               copy(this, nullOutputStream());

It was on the order of a few thousand a minute.

It should be possible to call close() on the executor before it goes out of 
scope, but I couldn't find where this happens.

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

Reply via email to