Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54921

can not release connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 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

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

              Created:
              Updated: