]> git.ipfire.org Git - thirdparty/curl.git/commit
libssh: fix double close
authorJay Dommaschk <j.dommaschk@instar.de>
Wed, 20 Apr 2022 07:11:41 +0000 (09:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Apr 2022 07:12:36 +0000 (09:12 +0200)
commitc4d032af2a6cdd899b06a829cb6a9be3261a8d4a
tree49b1ee9ab62488514adbf04be46d6fb37538856c
parent6019d652b519884d0f32b232254bed7189c0ea6c
libssh: fix double close

libssh closes the socket in ssh_diconnect() so make sure that libcurl
does not also close it.

Fixes #8708
Closes #8718
lib/vssh/libssh.c