openssl: close_notify on the FTP data connection doesn't mean closure
authorDaniel Stenberg <daniel@haxx.se>
Thu, 12 Sep 2019 15:56:49 +0000 (17:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 12 Sep 2019 22:10:47 +0000 (00:10 +0200)
commita56a47ac33a8344c0a3f3f74bd4a6b07576f7e0a
tree3378577ec5db468d650fb932f5aa8e2311d033a9
parent4e3dfe3323bedc534024cff7ee5d27771958895d
openssl: close_notify on the FTP data connection doesn't mean closure

For FTPS transfers, curl gets close_notify on the data connection
without that being a signal to close the control connection!

Regression since 3f5da4e59a556fc (7.65.0)

Reported-by: Zenju on github
Reviewed-by: Jay Satiro
Fixes #4329
Closes #4340
lib/vtls/openssl.c