Commit 8c689d6d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

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

	ISC_STATE_DISABLED.
parent 2f72cb51
......@@ -121,7 +121,8 @@ RETRY:
* are messages in the outgoing queue.
*/
if (scb->state == ISC_STATE_CONNECTING ||
(scb->state == ISC_STATE_RUNNING &&
((scb->state == ISC_STATE_RUNNING ||
scb->state == ISC_STATE_DISABLED) &&
(scb->sendindex > 0 || isc_pollqueue(scb->wr_msg_q))))
FD_SET(scb->fd, &write_set);
......@@ -187,6 +188,7 @@ RETRY:
switch (scb->state)
{
case ISC_STATE_RUNNING:
case ISC_STATE_DISABLED:
isc_oflush(scb);
break;
......
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