We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b670e5 commit 42a6e76Copy full SHA for 42a6e76
Release/src/websockets/client/ws_client_wspp.cpp
@@ -62,6 +62,10 @@
62
#pragma warning(disable : 4503)
63
#endif
64
65
+// Workaround data-race on websocketpp's _htonll function, see
66
+// https://github.com/Microsoft/cpprestsdk/pull/1082
67
+auto avoidDataRaceOnHtonll = websocketpp::lib::net::_htonll(0);
68
+
69
// This is a hack to avoid memory leak reports from the debug MSVC CRT for all
70
// programs using the library: ASIO calls SSL_library_init() which calls
71
// SSL_COMP_get_compression_methods(), which allocates some heap memory and the
0 commit comments