mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
CURLOPT: bump CURLWS_NOAUTOPONG, CURLWS_RAW_MODE macros to long
This patch bumps the size of these macros from `int` to `long`, while keeping their actual values the same. It may cause incompatibilities in user code, requiring the bump of holder variables and/or adding casts: - CURLWS_NOAUTOPONG - CURLWS_RAW_MODE Also: - keep existing cast within the documentation to make sure it applies to older curl versions as well. Closes #18137
This commit is contained in:
@@ -73,8 +73,8 @@ CURL_EXTERN CURLcode curl_ws_send(CURL *curl, const void *buffer,
|
||||
unsigned int flags);
|
||||
|
||||
/* bits for the CURLOPT_WS_OPTIONS bitmask: */
|
||||
#define CURLWS_RAW_MODE (1<<0)
|
||||
#define CURLWS_NOAUTOPONG (1<<1)
|
||||
#define CURLWS_RAW_MODE (1L<<0)
|
||||
#define CURLWS_NOAUTOPONG (1L<<1)
|
||||
|
||||
CURL_EXTERN const struct curl_ws_frame *curl_ws_meta(CURL *curl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user