]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp: don't do ssl_shutdown instead of ssl_close
authorDaniel Stenberg <daniel@haxx.se>
Mon, 10 Aug 2020 08:56:20 +0000 (10:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 10 Aug 2020 12:32:06 +0000 (14:32 +0200)
commitaecce3551cbb62a7980e8d22b40eabc091f896a0
tree205d81293861c3f1fc7297cac9d1b806d998b04f
parent421cf55ab2dda8ca870edba620ef8674bf70c0f3
ftp: don't do ssl_shutdown instead of ssl_close

The shutdown function is for downgrading a connection from TLS to plain,
and this is not requested here.

Have ssl_close reset the TLS connection state.

This partially reverts commit f002c850d98d

Reported-by: Rasmus Melchior Jacobsen
Reported-by: Denis Goleshchikhin
Fixes #5797
lib/ftp.c
lib/vtls/vtls.c