JDK-7199862 : Make sure that a connection is still alive when retrieved from KeepAliveCache in certain cases
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2012-09-20
  • Updated: 2015-08-20
  • Resolved: 2012-09-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8
6u38Fixed 7u40Fixed 8 b61Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
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.

Comments
Verified with test from JDK-8009650 - IsAvailable.java.
2013-08-02