Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6782751

HttpsClient.putInKeepAliveCache() does not grant HttpClient.inCache changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6
    • core-libs
    • None
    • generic
    • generic

      Yes, there is certainly a bug here.

      Thanks,
      -Chris.

      Xuelei Fan wrote:
      > Hi Chris,
      >
      > I need help on a HttpsClient method.
      >
      > The HttpClient.putInKeepAliveCache() will change the HttpClient.inCache value, and which will have effect on KeepAliveStreamCleaner via HttpClient.isInKeepAliveCache().
      >
      > However, the HttpsClient.putInKeepAliveCache() will not change the HttpClient.inCache value, so I think it would be a potential issue of KeepAliveStreamCleaner.
      >
      > I would submit a bug if you agree that the HttpsClient.putInKeepAliveCache() break the behaviors of KeepAliveStreamCleaner.
      >
      > Thanks,
      > Andrew

            jpai Jaikiran Pai
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: