JDK-6888555 : Http server needs to log certain error situations
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 7
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: other
  • CPU: unknown
  • Submitted: 2009-10-06
  • Updated: 2013-05-09
Related Reports
Relates :  
Description
Following from bug 6886436, this RFE proposes to improve the logging in the Http server
to help programmers detect the (programming) error that caused that issue.

In particular, if an application (server) calls HttpExchange.sendResponseHeaders() with
a responseLength value that indicates a response body will be sent, and the application
terminates the exchange without sending a body, then this error should be logged.

Comments
EVALUATION see description
29-06-2010

SUGGESTED FIX Add logging code.
06-10-2009