452188 Delay dispatch until content optimisation
Make delay the default
This commit is contained in:
parent
69daa8d76d
commit
8e9e29f887
|
@ -85,7 +85,7 @@
|
||||||
<Set name="sendServerVersion"><Property name="jetty.send.server.version" default="true" /></Set>
|
<Set name="sendServerVersion"><Property name="jetty.send.server.version" default="true" /></Set>
|
||||||
<Set name="sendDateHeader"><Property name="jetty.send.date.header" default="false" /></Set>
|
<Set name="sendDateHeader"><Property name="jetty.send.date.header" default="false" /></Set>
|
||||||
<Set name="headerCacheSize">512</Set>
|
<Set name="headerCacheSize">512</Set>
|
||||||
<Set name="delayDispatchOnContent"><Property name="jetty.delayDispatchOnContent" default="false"/></Set>
|
<Set name="delayDispatchOnContent"><Property name="jetty.delayDispatchOnContent" default="true"/></Set>
|
||||||
<!-- Uncomment to enable handling of X-Forwarded- style headers
|
<!-- Uncomment to enable handling of X-Forwarded- style headers
|
||||||
<Call name="addCustomizer">
|
<Call name="addCustomizer">
|
||||||
<Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
|
<Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
|
||||||
|
|
|
@ -46,4 +46,4 @@ jetty.dump.start=false
|
||||||
# Dump the state of the Jetty server, before stop
|
# Dump the state of the Jetty server, before stop
|
||||||
jetty.dump.stop=false
|
jetty.dump.stop=false
|
||||||
# Enable delayed dispatch optimisation
|
# Enable delayed dispatch optimisation
|
||||||
jetty.delayDispatchOnContent=false
|
jetty.delayDispatchOnContent=true
|
||||||
|
|
|
@ -53,7 +53,7 @@ public class HttpConfiguration
|
||||||
private boolean _sendServerVersion = true; //send Server: header
|
private boolean _sendServerVersion = true; //send Server: header
|
||||||
private boolean _sendXPoweredBy = false; //send X-Powered-By: header
|
private boolean _sendXPoweredBy = false; //send X-Powered-By: header
|
||||||
private boolean _sendDateHeader = true; //send Date: header
|
private boolean _sendDateHeader = true; //send Date: header
|
||||||
private boolean _delayDispatchOnContent = false; // Don't dispatch until content arrives
|
private boolean _delayDispatchOnContent = true; // Don't dispatch until content arrives
|
||||||
|
|
||||||
|
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
|
|
Loading…
Reference in New Issue