Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: test-randof breaks cmake/msvc, out of date with zproject, optional deps not used, no API to compress and send/receive data #1747

Merged
merged 7 commits into from
Aug 9, 2017

Conversation

bluca
Copy link
Member

@bluca bluca commented Aug 9, 2017

Solutions: see commits

Solution: rename to test_randof
Solution: add zstr_send[m]_compress and zstr_recv_compress to the API
and add dependency to lz4
Solution: assert if zmq_msg_init_size returns an error, which can
happen when size > 33 bytes due to a malloc failure (OOM).
Otherwise the following memcopy will write on random memory.
Solution: install libsystemd-dev and liblz4-dev.
Install lz4 on OSX only for the legacy builds as an optimisation.
Running brew update takes many minutes and slows down the build
considerably, so only do it where it's already been done as the
legacy builds require libsodium.
@vyskocilm
Copy link
Contributor

How did you managed to add 1024 lines? 😀

@vyskocilm vyskocilm merged commit b7c8a8b into zeromq:master Aug 9, 2017
@bluca
Copy link
Member Author

bluca commented Aug 9, 2017

I'm just that good :-D

@bluca bluca deleted the compression branch August 9, 2017 15:59
@bluca
Copy link
Member Author

bluca commented Aug 9, 2017

@jimklimov FYI on the test_random rename - cmake/msvc were not happy with the "-" in the name for some reasons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants