curl/lib
Viktor Szakats adb606eae7
curl_formdata: fix to pass long where missing, document CURLFORM_NAMELENGTH
- lib650: pass `long` to `CURLFORM_NAMELENGTH` in test.
  Spotted by Copilot.
  https://github.com/curl/curl/pull/22011#discussion_r3412407235
  Follow-up to 3620e569b3

- lib650: drop an interim variable, and interim casts.
  Follow-up to 60776a0515 #2747

- curl_formdata.md: document `CURLFORM_NAMELENGTH` on man page.

- curl_formdata.md: pass `long` to `CURLFORM_BUFFERLENGTH` on man page.

- formdata: pass `long` to `CURLFORM_CONTENTSLENGTH` in comment.

Closes #22017
2026-06-15 16:57:21 +02:00
..
curlx
vauth krb5_sspi: fix error message on DecryptMessage() fail 2026-06-14 14:17:27 +02:00
vquic cf-capsule: complete filter 2026-06-15 15:42:22 +02:00
vssh tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
vtls tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
.gitignore
altsvc.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-base.c
asyn-thrdd.c socket: use name sockerr for socket error variables 2026-06-14 14:17:07 +02:00
asyn.h
bufq.c
bufq.h
bufref.c
bufref.h
cf-dns.c
cf-dns.h
cf-h1-proxy.c
cf-h1-proxy.h
cf-h2-proxy.c
cf-h2-proxy.h
cf-haproxy.c
cf-haproxy.h
cf-https-connect.c cf-setup: own source file 2026-06-15 15:55:58 +02:00
cf-https-connect.h
cf-ip-happy.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
cf-ip-happy.h cf-ip-happy: update documentation 2026-06-11 10:06:09 +02:00
cf-setup.c cf-setup: own source file 2026-06-15 15:55:58 +02:00
cf-setup.h cf-setup: own source file 2026-06-15 15:55:58 +02:00
cf-socket.c socket: use name sockerr for socket error variables 2026-06-14 14:17:07 +02:00
cf-socket.h cf-socket: make Curl_addr2string static 2026-06-11 08:15:31 +02:00
cfilters.c cf-setup: own source file 2026-06-15 15:55:58 +02:00
cfilters.h cf-setup: own source file 2026-06-15 15:55:58 +02:00
CMakeLists.txt tidy-up: prefer spelling 'flavor', where missing 2026-06-15 03:28:42 +02:00
config-mac.h
config-os400.h
config-riscos.h
config-win32.h
conncache.c
conncache.h
connect.c cf-setup: own source file 2026-06-15 15:55:58 +02:00
connect.h cf-setup: own source file 2026-06-15 15:55:58 +02:00
content_encoding.c content_encoding: fix non-last chunked rejection 2026-06-11 13:21:09 +02:00
content_encoding.h
cookie.c
cookie.h
creds.c
creds.h
cshutdn.c
cshutdn.h
curl_addrinfo.c
curl_addrinfo.h
curl_config-cmake.h.in tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
curl_ctype.h
curl_endian.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_fopen.c
curl_fopen.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memrchr.c
curl_memrchr.h
curl_ntlm_core.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
curl_ntlm_core.h
curl_printf.h
curl_range.c
curl_range.h
curl_sasl.c
curl_sasl.h
curl_setup.h tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
curl_sha256.h
curl_sha512_256.c
curl_sha512_256.h
curl_share.c
curl_share.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curl_trc.c cf-setup: own source file 2026-06-15 15:55:58 +02:00
curl_trc.h
cw-out.c
cw-out.h
cw-pause.c
cw-pause.h
dict.c
dict.h
dllmain.c
dnscache.c
dnscache.h
doh.c
doh.h
dynhds.c
dynhds.h
easy.c
easy_lock.h
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c
escape.h
fake_addrinfo.c
fake_addrinfo.h
file.c
file.h
fileinfo.c
fileinfo.h
formdata.c curl_formdata: fix to pass long where missing, document CURLFORM_NAMELENGTH 2026-06-15 16:57:21 +02:00
formdata.h
ftp-int.h
ftp.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
ftp.h
ftplistparser.c
ftplistparser.h
functypes.h tidy-up: prefer spelling 'flavor', where missing 2026-06-15 03:28:42 +02:00
getenv.c
getinfo.c
getinfo.h
gopher.c
gopher.h
hash.c
hash.h
headers.c
headers.h
hmac.c
hostip.c
hostip.h
hostip4.c tidy-up: prefer spelling 'flavor', where missing 2026-06-15 03:28:42 +02:00
hostip6.c
hsts.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
hsts.h
http.c transfer: adapt Curl_xfer_is_secure() 2026-06-15 13:41:26 +02:00
http.h
http1.c
http1.h
http2.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
http2.h
http_aws_sigv4.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
http_aws_sigv4.h
http_chunks.c
http_chunks.h
http_digest.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
http_digest.h
http_negotiate.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
http_negotiate.h
http_ntlm.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
http_ntlm.h
http_proxy.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
http_proxy.h lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
httpsrr.c
httpsrr.h
idn.c
idn.h
if2ip.c
if2ip.h
imap.c transfer: adapt Curl_xfer_is_secure() 2026-06-15 13:41:26 +02:00
imap.h
ldap.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c
macos.h
Makefile.am
Makefile.inc cf-setup: own source file 2026-06-15 15:55:58 +02:00
Makefile.soname
md4.c
md5.c
memdebug.c
mime.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
mime.h
mprintf.c
mqtt.c
mqtt.h
multi.c tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
multi_ev.c
multi_ev.h
multi_ntfy.c
multi_ntfy.h
multihandle.h
multiif.h
netrc.c
netrc.h
openldap.c
optiontable.pl tidy-up: add spaces around equal operators where missing 2026-06-11 19:52:01 +02:00
parsedate.c
parsedate.h
peer.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
peer.h tidy-up: miscellaneous 2026-06-11 19:48:07 +02:00
pingpong.c
pingpong.h
pop3.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
pop3.h
progress.c
progress.h
protocol.c
protocol.h
proxy.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
proxy.h tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
psl.c
psl.h
rand.c
rand.h
ratelimit.c ratelimits: use minimal burst rate 2026-06-15 15:59:10 +02:00
ratelimit.h
request.c
request.h
rtsp.c
rtsp.h
select.c
select.h
sendf.c
sendf.h
setopt.c ratelimits: use minimal burst rate 2026-06-15 15:59:10 +02:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h
sha256.c
sigpipe.h
slist.c
slist.h
smb.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
smb.h
smtp.c
smtp.h
sockaddr.h cf-socket: make Curl_addr2string static 2026-06-11 08:15:31 +02:00
socketpair.c socket: use name sockerr for socket error variables 2026-06-14 14:17:07 +02:00
socketpair.h
socks.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
socks.h
socks_gssapi.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
socks_sspi.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
splay.c
splay.h
strcase.c
strcase.h
strequal.c
strerror.c
strerror.h
system_win32.c
system_win32.h
telnet.c tidy-up: miscellaneous 2026-06-14 20:10:28 +02:00
telnet.h
tftp.c socket: use name sockerr for socket error variables 2026-06-14 14:17:07 +02:00
tftp.h
thrdpool.c
thrdpool.h
thrdqueue.c
thrdqueue.h
transfer.c transfer: adapt Curl_xfer_is_secure() 2026-06-15 13:41:26 +02:00
transfer.h transfer: adapt Curl_xfer_is_secure() 2026-06-15 13:41:26 +02:00
uint-bset.c
uint-bset.h
uint-hash.c
uint-hash.h
uint-spbset.c
uint-spbset.h
uint-table.c
uint-table.h
url.c lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
url.h
urlapi-int.h
urlapi.c urlapi: refactor and simplify curl_url_set 2026-06-15 08:33:19 +02:00
urldata.h lib: transfer origin and proxy handling 2026-06-12 23:52:00 +02:00
version.c
ws.c
ws.h