Questions tagged [boost-beast]

Beast is a C++ header-only library serving as a foundation for writing interoperable networking libraries by providing low-level HTTP/1, WebSocket, and networking protocol vocabulary types and algorithms using the consistent asynchronous model of Boost.Asio.

275 questions
0
votes
1 answer

Can a io_context::strand guarantee the order between an async_* completion handler and custom functor?

I have this situation where I need to have an async_read operation "prepared" for reading before I call a custom function which is sending something on the counter-part of the websocket. I have the completion handler of the async_read wrapped in the…
0
votes
2 answers

Boost (Beast) websocket: synchronous write hangs

I am encountering an issue with the boost beast websocket stream. The issue occurs intermittently when I try to write to a stream in which the remote endpoint has stopped responding (specifically due to the remote being physically disconnected from…
miles.sherman
  • 171
  • 3
  • 11
0
votes
0 answers

Error when trying to INSERT INTO mysql with boost.beast

I am trying to insert a string into a mysql database and am getting the error terminate called after throwing an instance of 'sql::SQLException' what(): Aborted (core dumped) Before I try insert into I'm getting a table from the database…
Jack47
  • 49
  • 1
  • 9
-1
votes
1 answer

Compilation errors when building Boost Beast example websocket_server_sync

I am trying to build Boost with websocket-server-sync example from Boost Beast examples. Firstly I would like to say that I'm building on Windows 10 with MSVS 2017 Professional Version 15.3.5 with SDK version 10.0.14393.0. The steps which I took to…
joe_specimen
  • 295
  • 3
  • 19
1 2 3
18
19