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/LDAPConnectionHandlerConfiguration.xml | 96 ++----------------------------------------------
1 files changed, 4 insertions(+), 92 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/LDAPConnectionHandlerConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/LDAPConnectionHandlerConfiguration.xml
index 04e2dad..82a73d4 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/LDAPConnectionHandlerConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/LDAPConnectionHandlerConfiguration.xml
@@ -24,7 +24,7 @@
!
!
! Copyright 2007-2009 Sun Microsystems, Inc.
- ! Portions copyright 2011 ForgeRock AS
+ ! Portions copyright 2011-2013 ForgeRock AS
! -->
<adm:managed-object name="ldap-connection-handler"
plural-name="ldap-connection-handlers"
@@ -117,6 +117,9 @@
<adm:property-reference name="listen-port" />
<adm:property-reference name="use-ssl" />
<adm:property-reference name="ssl-cert-nickname" />
+ <adm:property-reference name="use-tcp-keep-alive" />
+ <adm:property-reference name="use-tcp-no-delay" />
+ <adm:property-reference name="allow-tcp-reuse-address" />
<adm:property name="key-manager-provider">
<adm:synopsis>
Specifies the name of the key manager that should be used with
@@ -297,97 +300,6 @@
</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:property name="send-rejection-notice" advanced="true">
<adm:synopsis>
Indicates whether the
--
Gitblit v1.10.0