Commit c38f7b2b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(isc_flush): Flush pending output even when the session is in

	ISC_STATE_DISABLED.
(isc_oflush): Likewise.
parent 8c689d6d
......@@ -52,6 +52,7 @@ void isc_flush(IscSession *scb)
return;
case ISC_STATE_RUNNING:
case ISC_STATE_DISABLED:
case ISC_STATE_CONNECTING:
isc_oflush(scb);
return;
......@@ -92,6 +93,7 @@ void isc_oflush(IscSession *scb)
/* We only try to transmit messages for RUNNING or CLOSING sessions */
if ((scb->state != ISC_STATE_RUNNING &&
scb->state != ISC_STATE_DISABLED &&
scb->state != ISC_STATE_CLOSING &&
scb->state != ISC_STATE_CLOSING2) || scb->fd == -1)
return;
......
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