JDK-4363479 : support http 1.1 chunked encoding output
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.3.0,1.3.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,windows_nt
  • CPU: generic,x86
  • Submitted: 2000-08-17
  • Updated: 2002-10-30
  • Resolved: 2002-10-30
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Description
The HTTP implementation in sun.net.www currently is currently able to parse
HTTP 1.1 chunked encoding, but does not include support for generating chunked
output.  Support for chunked output would reduce the memory requirements for
systems which transmit large amounts of data via outgoing HTTP
messages (e.g., RMI).

Comments
EVALUATION This will be examined to see if it's appropriate for merlin. However an API change is required so that the application can specify that it wishes to chunk encode the request and perhaps also specify the preferred chunk size. Redirects are an issue with chunked encoding as neither the application nor the http client will buffer the request. alan.bateman@ireland 2001-01-02
02-01-2001