Hello,

I want to add two new protocols to libcurl soon (for websockets) but there is no room left in the CURLOPT_PROTO bitmask within 32 bits.

The main reason there is no room left, in spite of curl only supporting 26 protocols, is that RTMP occupies *6* slots in that bitmask. I consider that a mistake, but a mistake that is done in the public API so changing it is a bit risky.

I want to move out four of the defines that we never should have added there in the first place and I have a PR for it. See below.

I realize this goes against policies and API/ABI stability guidelines, but I consider the risk to be minimal and the alternatives to be annoying and painful.

  https://github.com/curl/curl/pull/8988

If anyone has a better idea on how to solve this challenge, then let me know!

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to