mqtt: initial support for MQTTS

This commit is contained in:
Daniel Stenberg 2025-11-09 12:29:30 +01:00
parent 1e0865b630
commit 6288fdc688
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 105 additions and 40 deletions

View file

@ -1100,6 +1100,7 @@ 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 (~0L) /* enable everything */
/* long may be 32 or 64 bits, but we should never depend on anything else