msghub
msghub copied to clipboard
Lightweight publisher/subscriber C++ library based on boost asio
Hi, I am trying to create a pub/sub model using BoostAsio library with the help of your code. I was able to establish a connection between the publisher and subscriber...
This is my invitation to accept my forked changes. The fork builds on top of the "regular" PR #5. If you are not interested, please feel free to close this...
See the respective tickets for #1, #3 and #4 The fixes for #2 entail many separate commits, for which [see the changes list](https://github.com/di9it/msghub/pull/5/commits). Tests now run / still run respectively....
> Note this is a single commit (20a7b1dc18) on top of the PR #5 Add a Cmake for easier start-up To use: cmake . make make test Run the example...
Even on a publish-only channel there will be an extant async_read via hubconnection. On publishers there will be an accept loop. Both need cancelling.
There are many warnings (with -Wall -Wextra -pedantic). Some of these are already bugs (leading to immediate [segfaults](https://stackoverflow.com/a/65801099/85371)), some of them simply invite bugs. Others may prevent correct compilation on...