[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
limiting rewrite global variable scope
Hi,
back-ldap
I have just discovered that global variables in rewriting are remembered
between results, if more than one result is returned from a search.
I would really like to be able to start a fresh set of variables for each
result, to prevent "leakage".
I tried to do a rewrite_var_delete at the end of ldap_send_entry, but it's
getting me into locking problems -- and in any case, I'm not sure that I
should be deleting the avltree entirely - I just want to empty it, not
destroy it.
Can anyone offer any advice?
Cheers,
Stephen Brandon