- 000
when i call close, sometimes maybe crashed. the call stack as below.
#0 __memmove_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:265
#1 0x00000000004e744a in std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m (__first=0x7efc21515d58 std::string::...
- 000
There is no issue when use boost1.64 and websocketpp0.8.2. However, if change to boost1.76, It seems that boost::basic_stream_socket abolish non-const boost::asio::io_context constructor. The error log as below.
Issue
necessary to use dh?
- 000
do i need use dh on tls server?
websocketpp::lib::asio::ssl::context::single_dh_use
ctx->use_tmp_dh_file("dh.pem")
in the echo server example use this
- 000
Hi, I am using websoketpp as a client lib,
and I want to check what's the header content server get back to me
Please help to point it out how to get it by using websocketpp::clientwebsocketpp::config::asio_tls_client
Thanks a lot!
- 000
Dear ALL:
When I use demo broadcast server, if one of clients stop un-normal,how can i get the status of connection handler, that i can clear the handler:
- 000
It's basically impossible to add custom logging for this, as the logger instance is forcefully created internally within the library for each connection and you don't get to have any access to it, which makes it unnecessarily hard to have uniform logging.
It would be much preferable to have the opti...
- 000
I'm trying to run this code from this example on Windows with vscode + cmake + vcpkg:
ws-client.cpp
#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/client.hpp>
#include <iostream>
#include <string>
typedef websocketpp::client<websocketpp::co...
- 000
AFAIK websocket++ uses boost::thread and boost::regex to work correctly. Can this dependency be linked to std::threads and std::regex maybe? I'm trying to use websocket++ on a microcontroller and there's no API wrapper for boost::threads but there's one for std::thread.
- 000
Sorry I'm new to websocket++. I like what I'm seeing so far. But how can I load a certificate bundle (windows or linux) for the TLS connection? What API foo am I looking for? Also, is there more documentation on the API in general except for this tutorial?