From: Kurt Zeilenga Date: Fri, 23 Apr 1999 20:34:09 +0000 (+0000) Subject: Update state to closing early. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~148 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8082760c0c15f6951fc6a250ce070dca23d199a3;p=openldap Update state to closing early. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 5b6bd4df3d..df33906357 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -331,9 +331,11 @@ void connection_closing( Connection *c ) "connection_closing: readying conn=%ld sd=%d for close.\n", c->c_connid, c->c_sb.sb_sd, 0 ); + /* update state to closing */ + c->c_conn_state = SLAP_C_CLOSING; + /* don't listen on this port anymore */ slapd_clr_read( c->c_sb.sb_sd, 1 ); - c->c_conn_state = SLAP_C_CLOSING; /* shutdown I/O -- not yet implemented */