Skip to content
  • Deucе's avatar
    Split SFTP client cleanup into to functions. · 2beb1e7a
    Deucе authored
    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.
    2beb1e7a