mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:53:39 +03:00
libssh: skip the fake-close when libssh does the right thing
Starting in libssh 0.10.0 ssh_disconnect() will no longer close our socket. Instead it will be kept alive as we want it, and it is our responsibility to close it later. Ref: #8718 Ref: https://gitlab.com/libssh/libssh-mirror/-/merge_requests/240 Closes #9021
This commit is contained in:
parent
c828dc72e5
commit
ef22d5c42a
2 changed files with 9 additions and 10 deletions
|
|
@ -211,11 +211,7 @@ struct ssh_conn {
|
|||
#endif /* USE_LIBSSH */
|
||||
};
|
||||
|
||||
#if defined(USE_LIBSSH)
|
||||
|
||||
#define CURL_LIBSSH_VERSION ssh_version(0)
|
||||
|
||||
#elif defined(USE_LIBSSH2)
|
||||
#if defined(USE_LIBSSH2)
|
||||
|
||||
/* Feature detection based on version numbers to better work with
|
||||
non-configure platforms */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue