https://gitlab.synchro.net/main/sbbs/-/commit/bde52d434d8945f04d202b97
Modified Files:
src/sftp/sftp.h sftp_client.c src/syncterm/ssh.c
Log Message:
Split SFTP client cleanup into to functions.
sftp_finish() which ends the communication, disables further
commands, and can explicitly be called more than once, and
sftp_end() which frees the state.
This prevents a race around sftp_finish() calls and sftpc_*() calls
which is likely responsibe for various weirdness in SSH connections,
and should fix ticket 135.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net