diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-10-30 22:28:56 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-10-30 22:28:56 +0000 |
commit | a76f4ab7ddc9e1f75e9df474a07e379982ab46ab (patch) | |
tree | 130d758a81f9f25efc822739f9ff86579191fdfa /lib | |
parent | d68f215f037febf1850ad6a169d4a69bd9d132a1 (diff) |
- Liza Alenchery mentioned a problem with re-used SCP connection when a bad
auth is used, as it caused a crash. I failed to repeat the issue, but still
made a change that now forces the TCP connection used for a freed SCP
session to get closed and not be re-used.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2221,6 +2221,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block) } sshc->ssh_session = NULL; } + conn->bits.close = TRUE; sshc->nextstate = SSH_NO_STATE; state(conn, SSH_STOP); result = sshc->actualcode; |