mirror of
https://github.com/curl/curl.git
synced 2026-08-05 06:56:18 +03:00
curl.h: remove CURLPROTO_MQTTS from the public header
- the value collided with the internal one used for WebSocket - we add all new ones as internal bits - bump to 64-bit internal type - introduce new define for setting all protocols (CURLPROTO_64ALL) Reported by Codex Security Closes #20798
This commit is contained in:
parent
3d4a701233
commit
ad58e07b54
7 changed files with 12 additions and 16 deletions
|
|
@ -1103,8 +1103,8 @@ typedef CURLSTScode (*curl_hstswrite_callback)(CURL *easy,
|
|||
#define CURLPROTO_SMBS (1L << 27)
|
||||
#define CURLPROTO_MQTT (1L << 28)
|
||||
#define CURLPROTO_GOPHERS (1L << 29)
|
||||
#define CURLPROTO_MQTTS (1L << 30)
|
||||
#define CURLPROTO_ALL ((unsigned long)0xffffffff) /* enable everything */
|
||||
#define CURLPROTO_ALL ((unsigned long)0xffffffff) /* old-style enable
|
||||
"everything" */
|
||||
|
||||
/* long may be 32 or 64 bits, but we should never depend on anything else
|
||||
but 32 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue