Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2013-02-21 23:49:38 -0500
committerGreg Wilkins2013-02-21 23:51:17 -0500
commitc302a404cdf560f0a9d48f69d60401f61dbdecbe (patch)
tree64521bdb2dbd001aeeeb5fc8bc0d9c57d3a1cbe1 /jetty-server/src/main/config/etc/jetty.xml
parentb2b888d18a8e2ada0c0b05361f74fb6dd9f26602 (diff)
downloadorg.eclipse.jetty.project-c302a404cdf560f0a9d48f69d60401f61dbdecbe.tar.gz
org.eclipse.jetty.project-c302a404cdf560f0a9d48f69d60401f61dbdecbe.tar.xz
org.eclipse.jetty.project-c302a404cdf560f0a9d48f69d60401f61dbdecbe.zip
refined jetty embedded examples
Diffstat (limited to 'jetty-server/src/main/config/etc/jetty.xml')
-rw-r--r--jetty-server/src/main/config/etc/jetty.xml15
1 files changed, 11 insertions, 4 deletions
diff --git a/jetty-server/src/main/config/etc/jetty.xml b/jetty-server/src/main/config/etc/jetty.xml
index 477ba55746..8a4c695323 100644
--- a/jetty-server/src/main/config/etc/jetty.xml
+++ b/jetty-server/src/main/config/etc/jetty.xml
@@ -49,6 +49,15 @@
<Set name="detailedDump">false</Set>
</New>
</Arg>
+
+ <!-- =========================================================== -->
+ <!-- Add shared Scheduler instance -->
+ <!-- =========================================================== -->
+ <Call name="addBean">
+ <Arg>
+ <New class="org.eclipse.jetty.util.thread.TimerScheduler.TimerScheduler"/>
+ </Arg>
+ </Call>
<!-- =========================================================== -->
<!-- Http Configuration. -->
@@ -71,10 +80,8 @@
<Set name="outputBufferSize">32768</Set>
<Set name="requestHeaderSize">8192</Set>
<Set name="responseHeaderSize">8192</Set>
-
- <!-- Uncomment to not send the server version as a header
- <Set name="sendServerVersion">false</Set>
- -->
+ <Set name="sendServerVersion">true</Set>
+ <Set name="sendDateHeader">false</Set>
<!-- Uncomment to enable handling of X-Forwarded- style headers
<Call name="addCustomizer">

Back to the top