fixed enobuf causes stuck send thread

This commit is contained in:
Jeff Hill
2004-02-05 22:58:35 +00:00
parent 0a93c81e2c
commit 35f9e3dcbb

View File

@@ -51,6 +51,7 @@ void cas_send_bs_msg ( struct client *pclient, int lock_needed )
errlogPrintf ( "CAS: msg Discard for sock %d addr %x\n",
pclient->sock, (unsigned) pclient->addr.sin_addr.s_addr );
}
pclient->send.stk = 0u;
return;
}
@@ -79,6 +80,7 @@ void cas_send_bs_msg ( struct client *pclient, int lock_needed )
char buf[64];
if ( pclient->disconnect ) {
pclient->send.stk = 0u;
break;
}