diff src/org/eclipse/jetty/server/AbstractHttpConnection.java @ 878:5f8a242392da

remove sendDateHeader
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 14:50:32 -0600
parents fef4392f4905
children d850a5e6ff15
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Tue Oct 04 14:36:51 2016 -0600
+++ b/src/org/eclipse/jetty/server/AbstractHttpConnection.java	Tue Oct 04 14:50:32 2016 -0600
@@ -908,9 +908,6 @@
 					_generator.setPersistent(true);
 					_parser.setPersistent(true);
 				}
-
-				if (_server.getSendDateHeader())
-					_generator.setDate(_request.getTimeStampBuffer());
 				break;
 
 			case HttpVersions.HTTP_1_1_ORDINAL:
@@ -921,8 +918,6 @@
 					_responseFields.add(HttpHeaders.CONNECTION_BUFFER,HttpHeaderValues.CLOSE_BUFFER);
 					_generator.setPersistent(false);
 				}
-				if (_server.getSendDateHeader())
-					_generator.setDate(_request.getTimeStampBuffer());
 
 				if (!_host)
 				{