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 lib: enable strerror and strncpy checksrc warnings in subdirs 2024-09-09 16:51:21 +02:00
bearssl.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
bearssl.h
cipher_suite.c rustls: add support for setting TLS version and ciphers 2024-08-16 09:55:02 +02:00
cipher_suite.h rustls: add support for setting TLS version and ciphers 2024-08-16 09:55:02 +02:00
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 openssl: certinfo errors now fail correctly 2024-09-04 23:41:44 +02:00
rustls.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
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 vtls: fix Curl_ssl_conn_config_match doc param 2024-09-12 19:06:34 +02:00
wolfssl.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
wolfssl.h wolfssl: improve shutdown handling 2024-08-05 08:49:20 +02:00
x509asn1.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
x509asn1.h x509asn1: unittests and fixes for gtime2str 2024-07-30 23:08:59 +02:00