directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1585) Requests with value controls are not thread safe
Date Sat, 27 Nov 2010 09:51:14 GMT


Stefan Seelmann commented on DIRSERVER-1585:

I think the ControlEnum event doesn't  make sense for controls without value because the criticality
is also changeable.

I'd propose to replace the ControlEnum with a ControlFactory instead, which always creates
a new instance of the control.

> Requests with value controls are not thread safe
> ------------------------------------------------
>                 Key: DIRSERVER-1585
>                 URL:
>             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

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

View raw message