pdckxd/WebSocketAsioAHK

How to build with newer boost/beast release?

Danp2 opened this issue · 3 comments

Danp2 commented

Can you provide some guidance on how to build an updated DLL using a more recent version of Boost/Beast? I'm using VSCode with gcc. I've downloaded the source and successfully build the b2 executable, but I'm lost when it comes to integrating the boost library.

Any help would be appreciated!

Danp2 commented

FWIW, I was able to figure this out myself, and I'm able to build at least the 32 bit DLL so far. Seeing asserts coming from Boost that appear to be concurrency issues. See here for prior SO discussion. I removed the async_read from on_write and that seems to have helped.

Danp2 commented

Implemented a write queue and show here and this appears to have resolved the concurrency issues and the calling routine no longer hangs on exit.

Good to hear. Thanks to let me know.