Repository navigation
Use the cpprest-lts C++ REST SDK and WebSocket++ - #559
Merged
Merged
Conversation
Require cpprestsdk/2.10.21+cpprest-lts and websocketpp/0.8.4+cpprest-lts from Conan Center. Both recipes require boost/1.91.0, so the Boost version no longer needs to be forced or capped at 1.86.0. cpprest-lts requires Boost 1.66.0 or higher, so raise the minimum Boost version from 1.54.0, and update the current tested versions. Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
The non-Conan jobs build cpprest-lts/cpprestsdk at v2.10.21+cpprest-lts. The oldest Boost release tested is now 1.66.0, the cpprest-lts minimum. Add Ubuntu 26.04 (GCC 15) jobs with Conan, a job with the system Boost without Conan, and a C++23 job with Conan. The C++23 job runs on Linux because, with C++20 or later on Windows, the Conan Boost recipe builds Boost.Cobalt, which fails with Boost 1.91.0 (conan-center-index#30414). Add "_noconan" to the build name of the non-Conan jobs, so that their artifacts and results do not clash with the Conan job with the same settings. Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
Link to the cpprest-lts forks of the C++ REST SDK and WebSocket++, and clone cpprest-lts/cpprestsdk at v2.10.21+cpprest-lts. Boost 1.66.0 or higher is required, and Boost 1.87 or higher is now supported. List the Ubuntu 26.04 (GCC 15.2.0) jobs in the build status table: the Conan build, the C++23 build, and the build with the system Boost 1.90.0. Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
OpenSSL 3.5.9 fixes CVE-2026-84782 (DTLS retransmits handshake messages from a stale buffer offset). nmos-cpp does not use DTLS, but Conan Center now keeps only 3.5.9 of the 3.5 LTS series. Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
When websocketpp does not detect the standard type traits, as with MSVC, which reports __cplusplus as 199711L, websocketpp/common/type_traits.hpp uses boost::is_same but includes only boost/aligned_storage.hpp. With websocketpp 0.8.4+cpprest-lts, no earlier include declares it, so the MSVC build fails. Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
When the Visual Studio generator job builds cpprestsdk 2.10.21+cpprest-lts from source, the OpenSSL check in its CMake fails to configure, because the check's test project cannot use Conan's per-configuration OpenSSL targets (cpprest-lts/cpprestsdk#74). Preset the check's result, _SSL_LEAK_SUPPRESS_AVAILABLE, to OFF, which is the result the check gives with OpenSSL 1.1.0 and later. The package ID does not change. Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
garethsb
marked this pull request as draft
December 1, 2026 18:24
garethsb
marked this pull request as ready for review
December 1, 2026 18:33
Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Microsoft archived microsoft/cpprestsdk after 2.10.19, which does not build with Boost 1.87 or later (see #187 and #506). The cpprest-lts organization maintains forks of the C++ REST SDK and WebSocket++, with security and bug fixes but no new features. Conan Center has their releases,
cpprestsdk/2.10.21+cpprest-ltsandwebsocketpp/0.8.4+cpprest-lts. This PR moves nmos-cpp to them.boost/1.91.0, so nmos-cpp no longer forces Boost or caps it at 1.86.0. cpprest-lts requires Boost 1.66.0 or higher, so the minimum Boost version rises from 1.54.0.ws_listener_impl.cppincludesboost/type_traits/is_same.hppbefore the websocketpp headers. With MSVC, websocketpp 0.8.4+cpprest-lts usesboost::is_samewithout including it, and no earlier include declares it.v2.10.21+cpprest-lts._noconanto their build name, so that their artifacts do not clash with the Conan job with the same settings.Co-authored-by: Gareth's 🤖 buddy