RFR: 7199862: Make sure that a connection is still alive when retrieved from KeepAliveCache in certain cases
Rob McKenna
rob.mckenna at oracle.com
Thu Sep 20 08:26:35 PDT 2012
Hi folks,
This one is connected to 7199219 and has an intersecting change in that
we're similarly passing the httpuc from HttpURLConnection. Despite the
intersection I've filed these as two separate issues because a) they are
and b) I wouldn't like one to be held up by the other.
The problem here is that for a specific type of request (streaming POST)
we don't have the option of retrying the request if there is an issue
with the connection. A customer has run into a problem where their proxy
was unilaterally deciding when to close connections (without paying
attention to the servers keep-alive timeout) earlier than our
KeepAliveCache expected. In this case our POST would fail with odd http
response codes.
http://cr.openjdk.java.net/~robm/7199862/8/webrev.01/
<http://cr.openjdk.java.net/%7Erobm/7199862/8/webrev.01/>
-Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20120920/6c08b22f/attachment.html
More information about the net-dev
mailing list