Skip to content
  • Christian Kandeler's avatar
    SSH: Close channels before re-using a connection. · c1a89d2c
    Christian Kandeler authored
    
    
    Otherwise a new client acquiring the connection could be affected by
    things happening in channels that were not opened by that client, which
    would certainly be unexpected.
    In particular, if the new owner of the connection runs in a different
    thread than the old one, crashes could occur since the connection
    assumes its channels run in the same thread.
    
    Change-Id: I4fdf2b5a3751ed506631d6878e94342da033c31c
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
    c1a89d2c