--- a/src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java Tue Nov 14 15:28:10 2017 +0000
+++ b/src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java Tue Nov 14 15:57:11 2017 +0000
@@ -551,9 +551,11 @@
requestLine = req.requestLine();
if (requestLine == null) {
/* connection closed */
+ logger.log(Level.DEBUG, "no request line: closing");
closeConnection(connection);
return;
}
+ logger.log(Level.DEBUG, "Exchange request line: {0}", requestLine);
int space = requestLine.indexOf (' ');
if (space == -1) {
reject (Code.HTTP_BAD_REQUEST,