curl/lib/vtls
Stefan Eissing 72d2090fc2
ftp: fix 0-length last write on upload from stdin
When uploading FTP with unknown length, we write a last 0-length chunk
with the EOS flag set. OpenSSL's SSL_write() errors on such a write.
Skip writing 0-length data to TLS backends instead.

Add test in FTPS for such uploads to verify.

Fixes #15101
Reported-by: Denis Goleshchikhin
Closes #15102
2024-10-01 13:57:12 +02:00
..
.checksrc
bearssl.c
bearssl.h
cipher_suite.c
cipher_suite.h
gtls.c gtls: Add P12 format support 2024-09-22 21:24:55 +02:00
gtls.h
hostcheck.c
hostcheck.h
keylog.c
keylog.h
mbedtls_threadlock.c
mbedtls_threadlock.h
mbedtls.c codespell: extend checks to more subdirs 2024-09-27 10:27:08 +02:00
mbedtls.h
openssl.c openssl: convert a memcpy to dynbuf use 2024-09-26 17:00:43 +02:00
openssl.h
rustls.c
rustls.h
schannel_int.h tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
schannel_verify.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
schannel.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
schannel.h
sectransp.c tidy-up: spelling 2024-09-22 09:51:15 +02:00
sectransp.h
vtls_int.h tidy-up: spelling 2024-09-22 09:51:15 +02:00
vtls.c ftp: fix 0-length last write on upload from stdin 2024-10-01 13:57:12 +02:00
vtls.h
wolfssl.c
wolfssl.h
x509asn1.c
x509asn1.h