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

Change #266600

Category None
Changed by Daniel Stenberg <danielohnoyoudont@haxx.se>
Changed at Fri 08 May 2026 11:16:51
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch bagder/setopt-ech
Revision 3c18eadb9105931b17fe0af8e470bcbcd7f29c85

Comments

ECH: cleanups

- passing an unknown string to CURLOPT_ECH now returns error

  To properly allow applications to spot if they pass in a typo or
  something to libcurl.

- CURLECH_DISABLE is now a plain zero internally, not a dedicated bit which
  simplifies checks for when ECH is enabled

- Dropped the CURLECH_CLA_CFG bit, and just check STRING_ECH_CONFIG

- Turn grease/enable/hard into three different numerical values, no bitmask
  needed

- Convert the struct field 'tls_ech' from an int to a byte.

Changed files