>                 } else {
> -                  byte[] content = closeClientButKeepContentStream(response);
> -                  //TODO: what is the error when the session token expires??
> -                  if (content != null && new String(content).contains("lease 
> renew")) {
> -                     logger.debug("invalidating authentication token");
> +                  closeClientButKeepContentStream(response);

Why call this, and only on this code path?

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

Reply via email to