Re: [Proposal] New TS API TSHttpTxnConfigParse/TSHttpTxnConfigSet

2025-06-12 Thread Leif Hedstrom
Also, if we do it this way we 1. Need to undo the work Alan started. We should not have two ways to deal with the strings configurations and conversions. 2. Figure out how to do this without breaking the compatibility every time we add a type. I’m not sold on the std:: variant here either, besid

Re: [Proposal] New TS API TSHttpTxnConfigParse/TSHttpTxnConfigSet

2025-06-12 Thread Leif Hedstrom
> On Jun 12, 2025, at 01:15, Masaori Koshiba wrote: > > I'd propose adding new TS APIs that make overriding configuration > variables more flexible. > > ``` > TS_RECORDDATATYPE_VARIANT > using TSConfigValue = std::variant; > > TSReturnCode TSHttpTxnConfigParse(TSConfigValue &dst, > TSOverri