OK, done. Test case is here: https://github.com/zeromq/issues/tree/master/451 Fix is on 3-x and libzmq, waiting for the maintainers to review and merge. Thanks for the help, Ian.