curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Deprecating 4 "wrong" RTMP protocol bits

From: Cristian Rodríguez via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 12 Jun 2022 18:03:10 -0400

On Sat, Jun 11, 2022 at 5:41 PM Daniel Stenberg via curl-library
<curl-library_at_lists.haxx.se> wrote:
>
> On Fri, 10 Jun 2022, Max Dymond via curl-library wrote:
>
> > Perhaps simply "a string"?
> > https://github.com/curl/curl/blob/master/src/tool_libinfo.c already converts
> > a proto name (e.g. "https", "sftp") into a value - I don't think it's beyond
> > the realms of feasibility to have a similar API to replace
> > CURLOPT_PROTOCOLS.
>
> Agreed. I ditched my initial PR and created this new string based API to set
> the two options:
>
> https://github.com/curl/curl/pull/8992


yeah.. that's better than addition of new enumerations and other abi
sensitive stuff.. otherwise you need an enum with uint64_t values
where the last one CURL_FOO_MAX = UINT64_T_MAX or something. +1
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-06-13