mirror of
https://github.com/curl/curl.git
synced 2026-04-27 05:32:12 +03:00
setopt: split up setopt_long and setopt_cptr
- Split setopt_long() into multiple functions (setopt_long_bool/net/http/proxy/ssl/proto/misc) and dispatch them using a small function table - Extract proxy string option handling into setopt_cptr_proxy() and call it early from setopt_cptr() - Reorder options to simplify #ifdef blocks and reduce per-function size - Updates code paths to return CURLE_UNKNOWN_OPTION from helper defaults so dispatching can continue cleanly Closes #20280
This commit is contained in:
parent
f057ed05be
commit
8582ecf5bb
1 changed files with 619 additions and 657 deletions
1276
lib/setopt.c
1276
lib/setopt.c
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue