mirror of
https://github.com/curl/curl.git
synced 2026-04-12 00:11:42 +08:00
When a SCP/SFTP connection calls the protocol handler disconnect, it required the connections *and* the easy handles SSH meta data to be present. When the disconnect is called with an admin handle, the easy meta data is not present, which prevented the shutdown to run. The easy meta data is however not necessary to run the shutdown state machine. Calling it with a NULL `sshp` is fine. To avoid any mixups, check `sshp` in state operations that need it. Fixes #19293 Reported-by: And-yW on github Closes #19295 |
||
|---|---|---|
| .. | ||
| curl_path.c | ||
| curl_path.h | ||
| libssh2.c | ||
| libssh.c | ||
| ssh.h | ||