directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r414638 - /directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/StoredProcedureExtendedOperationHandler.java
Date Thu, 15 Jun 2006 17:19:34 GMT
Author: ersiner
Date: Thu Jun 15 10:19:33 2006
New Revision: 414638

URL: http://svn.apache.org/viewvc?rev=414638&view=rev
Log:
Fixed the SP Extended Operation Handler hanging issue by sending a dummy response back to
the client.

Modified:
    directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/StoredProcedureExtendedOperationHandler.java

Modified: directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/StoredProcedureExtendedOperationHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/StoredProcedureExtendedOperationHandler.java?rev=414638&r1=414637&r2=414638&view=diff
==============================================================================
--- directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/StoredProcedureExtendedOperationHandler.java
(original)
+++ directory/trunks/apacheds/protocol-ldap/src/main/java/org/apache/directory/server/ldap/support/extended/StoredProcedureExtendedOperationHandler.java
Thu Jun 15 10:19:33 2006
@@ -63,6 +63,12 @@
             handler = new JavaStoredProcedureExtendedOperationHandler();
             handler.handleStoredProcedureExtendedOperation( serverLdapContext, spBean );
         }
+        
+        /**
+         * TODO: Temporarily added this response to make things work.
+         * We need to send back the SP result btw.
+         */
+        session.write( req.getResultResponse() );
     }
     
     private StoredProcedure decodeBean( byte[] payload )



Mime
View raw message