]> git.ipfire.org Git - thirdparty/curl.git/commit
CURLOPT: bump `CURLWS_NOAUTOPONG`, `CURLWS_RAW_MODE` macros to `long`
authorViktor Szakats <commit@vsz.me>
Fri, 1 Aug 2025 15:35:42 +0000 (17:35 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 1 Aug 2025 16:49:23 +0000 (18:49 +0200)
commitac0222d35561fe952b5f26c26bac891f89a618c9
tree7541fee2d6b4e783f7ad5a1bca9631b967344434
parent1d56c1401f14d12c02f6fff09baf1b562b8cda7a
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
include/curl/websockets.h
tests/libtest/lib2301.c
tests/libtest/lib2700.c