Commit 8082760c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Update state to closing early.

parent 3e05f289
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment