can not release connection

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: java-client-api
    • None

      public InputStream getFile(URI path) throws IOException {
      HttpGet getMethod = new HttpGet(path);
      HttpResponse response = client.execute(getMethod, localContext);
      jenkinsVersion = ResponseUtils.getJenkinsVersion(response);
      httpResponseValidator.validateResponse(response);
      return new RequestReleasingInputStream(response.getEntity().getContent(), getMethod);
      }

      when invoke getFile method and occur exception atĀ validateResponse(),

      connetions cannot be released

            Assignee:
            Karl-Heinz Marbaise
            Reporter:
            Sylvia Xie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: