United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8000322 Make sure that a connection is still alive when retrieved from KeepAliveCache in certain cases
JDK-8000322 : Make sure that a connection is still alive when retrieved from KeepAliveCache in certain cases

Details
Type:
Backport
Submit Date:
2012-10-02
Status:
Closed
Updated Date:
2012-10-30
Project Name:
JDK
Resolved Date:
2012-10-09
Component:
core-libs
OS:
Sub-Component:
java.net
CPU:
Priority:
P2
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:
6u38 (b03)

Related Reports
Backport:

Sub Tasks

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



Hardware and Software, Engineered to Work Together