From 8082760c0c15f6951fc6a250ce070dca23d199a3 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 23 Apr 1999 20:34:09 +0000 Subject: [PATCH] Update state to closing early. --- servers/slapd/connection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.39.5