JDK-6405050 : change http server content-length from int to long
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: unknown
  • Submitted: 2006-03-28
  • Updated: 2017-05-16
  • Resolved: 2006-06-04
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 Availability Release.

To download the current JDK release, click here.
JDK 6
6 b87Fixed
Related Reports
Relates :  
Description
The content-length field in HttpExchange.sendResponseHeaders() is an int which limits the content
length to 2GB (in the fixed length case). That should be changed to a long.
See http://forums.java.net/jive/thread.jspa?threadID=14148&tstart=0

Comments
EVALUATION Fixed in b81
26-04-2006