Closed
Description
Hi there,
I am getting a read access violation as soon as an instance of signalr_client_config goes out of scope.
I pulled the microsoft-signalr package from vcpkg and I am using Visual Studio 2022.
To Reproduce
I created a blank windows console app with the following code.
#include <iostream>
#include "signalrclient/hub_connection.h"
int main()
{
std::cout << "Hello World!\n";
{
std::map<std::string, std::string> http_headers;
http_headers.insert({ "Authorization", "" });
signalr::signalr_client_config config;
config.set_http_headers(http_headers);
}
std::cout << "finished.\n";
}