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

Re: slapd stop problem (ITS#2236)



I believe this patch is basically correct.  Good catch!
I've committed a fix to HEAD.

Kurt

At 12:30 AM 2/19/2003, marga.de.groot@logicacmg.com wrote:
>This message is in MIME format. Since your mail reader does not understand
>this format, some or all of this message may not be legible.
>
>------_=_NextPart_000_01C2D7F1.0C65E610
>Content-Type: text/plain;
>        charset="iso-8859-1"
>
>Hi,
>
>Attached you'll find a patch that will solve this problem:
>
> <<shutdown.patch>> 
>With kind regards,
>Marga de Groot
>
>
>------_=_NextPart_000_01C2D7F1.0C65E610
>Content-Type: application/octet-stream;
>        name="shutdown.patch"
>Content-Transfer-Encoding: quoted-printable
>Content-Disposition: attachment;
>        filename="shutdown.patch"
>
>*** openldap-2.0.27/servers/slapd/daemon.c.org  Fri Jun  7 01:32:00 =
>2002=0A=
>--- openldap-2.0.27/servers/slapd/daemon.c      Wed Jan 29 13:28:31 2003=0A=
>***************=0A=
>*** 1261,1266 ****=0A=
>--- 1261,1267 ----=0A=
>        Debug( LDAP_DEBUG_ANY,=0A=
>            "slapd shutdown: waiting for %d threads to terminate\n",=0A=
>            ldap_pvt_thread_pool_backload(&connection_pool), 0, 0 );=0A=
>+         connections_shutdown();=0A=
>        ldap_pvt_thread_pool_destroy(&connection_pool, 1);=0A=
>  =0A=
>        return NULL;=0A=
>
>------_=_NextPart_000_01C2D7F1.0C65E610--