Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #255092

Category curl
Changed by Daniel Stenberg <danielohnoyoudont@haxx.se>
Changed at Tue 13 Jan 2026 09:55:09
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision 8582ecf5bb3b507fe0a9714cf3ea14733ccde02a

Comments

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

Changed files