directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r688580 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/SearchHandler.java
Date Sun, 24 Aug 2008 23:24:06 GMT
Author: akarasulu
Date: Sun Aug 24 16:24:06 2008
New Revision: 688580

URL: http://svn.apache.org/viewvc?rev=688580&view=rev
Log:
some doco and adding line to unregister completed search requests that do not use psearch

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/SearchHandler.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/SearchHandler.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/SearchHandler.java?rev=688580&r1=688579&r2=688580&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/SearchHandler.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/handlers/SearchHandler.java
Sun Aug 24 16:24:06 2008
@@ -582,6 +582,8 @@
             if ( psearchControl != null )
             {
                 handlePersistentSearch( session, req, psearchControl );
+                
+                // do not unregister the outstanding request unlike below
                 return;
             }
 
@@ -591,6 +593,7 @@
 
             SearchResponseDone done = doSimpleSearch( session, req );
             session.getIoSession().write( done );
+            session.unregisterOutstandingRequest( req );
         }
         catch ( Exception e )
         {



Mime
View raw message