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

RE: back overlay (ITS#2751)



> -----Original Message-----
> From: Pierangelo Masarati [mailto:ando@sys-net.it]

> >> 1) there is something I don't understand when dealing with
> >> "send entry"
> >>    callbacks, which is fixed by the attached patch; or am I
> >> missing something?
> >
> > The first part of this patch is not needed. The send_*
> functions will do
> > their default behavior when no callbacks are called.
>
> The problem I encountred is: what happens when I set
> a send_* callback that manipulates data but does not
> call any send_* callback on turn?  The last time I
> tried it, there was no success.

When was the last time? In result.c note that the behavior has been changed
so that when a send_* callback returns SLAP_CB_CONTINUE then the regular
slapd code executes. However, if the callback returns anything else, it is
assumed to have fully processed the result.

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