src/syncterm conn_pty.c 1.23 1.24 conn_telnet.c 1.9 1.10 modem.c 1.27 1.28 rlogin.c 1.32 1.33 ssh.c 1.18 1.19 syncterm.c 1.195 1.196
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv32243
Modified Files:
conn_pty.c conn_telnet.c modem.c rlogin.c ssh.c syncterm.c
Log Message:
A deadlock could occur if you called conn_close() while the remote was sending a buttload of data. If the input queue filled up before the socket was closed, the input queue could be stuck waiting for the ring buffer to drain while conn_close() is stuck waiting for the input thread to stop.
We now consume data from the input buffer while waiting for the input thread
to stop.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net