Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2013-05-28 01:35:09 +0000
committerJan Bartel2013-05-28 01:35:09 +0000
commit20aeae59141640a5979be542de998ce17c7bc0ab (patch)
treea72de0f0784011bc0ac28c2f64cadbc43b2f34ff /jetty-osgi/jetty-osgi-boot/jettyhome/etc
parent5c97019be11920a49d8dc0aacea3bdabbe8f2101 (diff)
downloadorg.eclipse.jetty.project-20aeae59141640a5979be542de998ce17c7bc0ab.tar.gz
org.eclipse.jetty.project-20aeae59141640a5979be542de998ce17c7bc0ab.tar.xz
org.eclipse.jetty.project-20aeae59141640a5979be542de998ce17c7bc0ab.zip
409228 Set jetty.home property so config files work even if deployed inside a bundle
Diffstat (limited to 'jetty-osgi/jetty-osgi-boot/jettyhome/etc')
-rw-r--r--jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-selector.xml9
-rw-r--r--jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty.xml11
2 files changed, 20 insertions, 0 deletions
diff --git a/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-selector.xml b/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-selector.xml
index badf00e976..67cd87c2a7 100644
--- a/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-selector.xml
+++ b/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty-selector.xml
@@ -12,6 +12,15 @@
<Arg>
<New class="org.eclipse.jetty.server.ServerConnector">
<Arg><Ref refid="Server" /></Arg>
+ <Arg name="factories">
+ <Array type="org.eclipse.jetty.server.ConnectionFactory">
+ <Item>
+ <New class="org.eclipse.jetty.server.HttpConnectionFactory">
+ <Arg name="config"><Ref refid="httpConfig" /></Arg>
+ </New>
+ </Item>
+ </Array>
+ </Arg>
<Set name="host"><Property name="jetty.host" /></Set>
<Set name="port"><Property name="jetty.port" default="8080"/></Set>
<Set name="idleTimeout">300000</Set>
diff --git a/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty.xml b/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty.xml
index 5748d1405f..4bde8d7222 100644
--- a/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty.xml
+++ b/jetty-osgi/jetty-osgi-boot/jettyhome/etc/jetty.xml
@@ -44,6 +44,17 @@
</New>
</Set>
+ <New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
+ <Set name="secureScheme">https</Set>
+ <Set name="securePort"><Property name="jetty.secure.port" default="8443" /></Set>
+ <Set name="outputBufferSize">32768</Set>
+ <Set name="requestHeaderSize">8192</Set>
+ <Set name="responseHeaderSize">8192</Set>
+ <Set name="sendServerVersion">true</Set>
+ <Set name="sendDateHeader">false</Set>
+ <Set name="headerCacheSize">512</Set>
+ </New>
+
<!-- =========================================================== -->
<!-- extra options -->

Back to the top