From be85abb8e2dc82f709e1b3f6c4ad9ddce04849dc Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Mar 2013 08:58:11 +0000
Subject: [PATCH] OPENDJ-808 Implement a simple commons REST based HTTP connection handler

---
 opends/src/admin/defn/org/opends/server/admin/std/Package.xml |   93 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 92 insertions(+), 1 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/Package.xml b/opends/src/admin/defn/org/opends/server/admin/std/Package.xml
index 1726afd..ad2bfea 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/Package.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/Package.xml
@@ -24,7 +24,7 @@
   !
   !
   !      Copyright 2007-2009 Sun Microsystems, Inc.
-  !      Portions Copyright 2011 ForgeRock AS
+  !      Portions Copyright 2011-2013 ForgeRock AS
   ! -->
 <adm:package name="org.opends.server.admin.std"
   xmlns:adm="http://www.opends.org/admin"
@@ -484,4 +484,95 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
+  <adm:property name="use-tcp-keep-alive" advanced="true">
+    <adm:synopsis>
+      Indicates whether the
+      <adm:user-friendly-name />
+      should use TCP keep-alive.
+    </adm:synopsis>
+    <adm:description>
+      If enabled, the SO_KEEPALIVE socket option is used to indicate that TCP
+      keepalive messages should periodically be sent to the client to
+      verify that the associated connection is still valid. This may
+      also help prevent cases in which intermediate network hardware
+      could silently drop an otherwise idle client connection, provided
+      that the keepalive interval configured in the underlying operating
+      system is smaller than the timeout enforced by the network
+      hardware.
+    </adm:description>
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>true</adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:boolean />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-use-tcp-keep-alive</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
+  <adm:property name="use-tcp-no-delay" advanced="true">
+    <adm:synopsis>
+      Indicates whether the
+      <adm:user-friendly-name />
+      should use TCP no-delay.
+    </adm:synopsis>
+    <adm:description>
+      If enabled, the TCP_NODELAY socket option is used to ensure
+      that response messages to the client are sent immediately rather
+      than potentially waiting to determine whether additional response
+      messages can be sent in the same packet. In most cases, using the
+      TCP_NODELAY socket option provides better performance and
+      lower response times, but disabling it may help for some cases in
+      which the server sends a large number of entries to a client
+      in response to a search request.
+    </adm:description>
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>true</adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:boolean />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-use-tcp-no-delay</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
+  <adm:property name="allow-tcp-reuse-address" advanced="true">
+    <adm:synopsis>
+      Indicates whether the
+      <adm:user-friendly-name />
+      should reuse socket descriptors.
+    </adm:synopsis>
+    <adm:description>
+      If enabled, the SO_REUSEADDR socket option is used on the
+      server listen socket to potentially allow the reuse of socket
+      descriptors for clients in a TIME_WAIT state. This may help the
+      server avoid temporarily running out of socket descriptors in
+      cases in which a very large number of short-lived connections have
+      been established from the same client system.
+    </adm:description>
+    <adm:requires-admin-action>
+      <adm:component-restart />
+    </adm:requires-admin-action>
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>true</adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:boolean />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-allow-tcp-reuse-address</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
 </adm:package>

--
Gitblit v1.10.0