Code Review 6672144: HttpURLConnection.getInputStream sends POST request after failed chunked send

Chris Hegarty chris.hegarty at oracle.com
Mon Sep 20 02:16:16 PDT 2010


Michael,

When we're in streaming mode (chunked or fixed length) the HTTP client 
implementation does not buffer the output data (this is the intention of 
streaming mode). Since we don't know the users data then we cannot 
silently retry in the event of an error when reading the response headers.

Webrev:
   http://cr.openjdk.java.net/~chegar/6672144/webrev.00/webrev/

-Chris.



More information about the net-dev mailing list