Requests with value controls are not thread safe
------------------------------------------------

                 Key: DIRSERVER-1585
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1585
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Stefan Seelmann


In LdapMessageGrammar the ControlEnum is used to get an Control instance for an 
OID. The ControlEnum always returns the same Control instance. This works well 
for controls w/o value. But for controls with an value this is fatal because 
the single instance is used for each request and values may be overwritten from 
a parallel request.

Background: I tried to run the PagedSearchIT using multiple threads, but they 
always failed.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to