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

Make sure that a connection is still alive when retrieved from KeepAliveCache in certain cases

XMLWordPrintable

    • b03
    • Not verified

      Unlike most other requests, when the HttpClient is performing a streaming POST the request cannot be retried in case of failure. Generally this shouldn't be an issue in a correctly configured environment, but if there is a discrepency between the servers keep-alive time and the clients (java) then we may run into a situation where we attempt the post over a disconnected connection. We could test that the connection is still alive upon KeepAliveCache retrieval in order to mitigate the problem.

            robm Robert Mckenna
            robm Robert Mckenna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: