]> git.ipfire.org Git - thirdparty/curl.git/commit
setopt: add helper functions to setopt_long()
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Aug 2025 06:47:31 +0000 (08:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Aug 2025 11:47:47 +0000 (13:47 +0200)
commitb059f7deaf300dfae49c1b73a5b42394d4f34e70
tree9f94d9d2f17843976d29b4a1787deaa99b4b9890
parentb5d2e6e63f980d0a27f16ecc252a4f6b348c5f80
setopt: add helper functions to setopt_long()

- Consistently keep options within ranges
- Reduce the maximum maxredirs value to fit a signed short
- Removed comments as the place to document the options is not here

Closes #18174
lib/hostip.c
lib/http.c
lib/setopt.c
lib/urldata.h