From 64678e030f2ed2ee1bd0d8dfb9c7686eb4d79caa Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 14 May 2013 15:37:18 +0000
Subject: [PATCH] OPENDJ-808 (CR-1685) Implement a simple commons REST based HTTP connection handler

---
 opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml
index d8aff43..f23b1da 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml
@@ -287,6 +287,40 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
+  <adm:property name="num-request-handlers" advanced="true">
+    <adm:synopsis>
+      Specifies the number of request handlers that are used to read
+      requests from clients.
+    </adm:synopsis>
+    <adm:description>
+      The
+      <adm:user-friendly-name />
+      uses one thread to accept new connections from clients, but uses
+      one or more additional threads to read requests from existing
+      client connections. This ensures that new requests are
+      read efficiently and that the connection handler itself does not
+      become a bottleneck when the server is under heavy load from many
+      clients at the same time.
+    </adm:description>
+    <adm:requires-admin-action>
+      <adm:component-restart />
+    </adm:requires-admin-action>
+    <adm:default-behavior>
+      <adm:alias>
+        <adm:synopsis>
+          Let the server decide.
+        </adm:synopsis>
+      </adm:alias>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:integer lower-limit="1" />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-num-request-handlers</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
   <adm:property name="ssl-client-auth-policy">
     <adm:synopsis>
       Specifies the policy that the

--
Gitblit v1.10.0