We can add a restriction for all strings that are send in a discovery message:
some windows warnings
I added static_cast<uint16_t> for removing warnings in f6930f0.
Could you sync with default, please? We merged a patch that fixes a test that was failing most of the time.
By the way, I ran Wireshark and the publisher example and compared it with the default version. We're saving around 15% of the UDP payload with this approach.
Waiting on the static_cast<uint16_t>(...) for removing the outstanding warnings and ready to approve.
Thanks! I used your recommendation.
Test results OK: