From 34c4d0f375fb9aa2751569ba862bf436c1569f7f Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 18 Feb 2007 19:24:28 +0000
Subject: [PATCH] Update all internal client connections to have unlimited size limits, time limits, and lookthrough limits.

---
 opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
index 9eb75c1..025d8f4 100644
--- a/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
+++ b/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
@@ -211,6 +211,9 @@
       this.authenticationInfo =
            new AuthenticationInfo(internalUserEntry, true);
       super.setAuthenticationInfo(authenticationInfo);
+      setSizeLimit(0);
+      setTimeLimit(0);
+      setLookthroughLimit(0);
     }
     catch (DirectoryException de)
     {
@@ -253,6 +256,9 @@
 
     this.authenticationInfo = authInfo;
     super.setAuthenticationInfo(authInfo);
+    setSizeLimit(0);
+    setTimeLimit(0);
+    setLookthroughLimit(0);
 
     connectionID  = nextConnectionID.getAndDecrement();
     operationList = new LinkedList<Operation>();

--
Gitblit v1.10.0