[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: A new encode loop in send_search_entry() (ITS#2433)



The new loop needs to honor the matchedValuesReturn control.

There is a disconnect here between the encoding of the requested attribute
name and the check for attribute subtypes. The loop may encode the values of
the wrong attribute for a specified name.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
> jongchoi@us.ibm.com
> Sent: Tuesday, April 08, 2003 8:18 PM
> To: openldap-its@OpenLDAP.org
> Subject: A new encode loop in send_search_entry() (ITS#2433)
>
>
> Full_Name: Jong Hyuk Choi
> Version: HEAD
> OS: RedHat 7.3
> URL: ftp://ftp.openldap.org/incoming/new-result.diff
> Submission from: (NULL) (129.34.20.17)
>
>
> This new encode loop of send_search_entry() targets to reduce
> the very frequent occurences of ad_inlist(), is_ad_subtype(),
> is_at_subtype() functions in OpenLDAP execution trace result.
> This patch tries to reduce the number of encoding loop iterations.
> Together with the BER cache patch, it improves the performance
> of directory entry transmission.
>
> - Jong
>
> ------------------------
> Jong Hyuk Choi
> IBM Thomas J. Watson Research Center - Enterprise Linux Group
> P. O. Box 218, Yorktown Heights, NY 10598
> email: jongchoi@us.ibm.com
> (phone) 914-945-3979    (fax) 914-945-4425   TL: 862-3979
>
>
>