• Pieter Hintjens's avatar
    Problem: test_large_msg kills my system temporarily · 62c66ae7
    Pieter Hintjens authored
    And I'm on a reasonably sized laptop. I think allocating INT_MAX
    memory is dangerous in a test case.
    
    Solution: expose this as a context option. I've used ZMQ_MAX_MSGSZ
    and documented it and implemented the API. However I don't know how
    to get the parent context for a socket, so the code in zmq.cpp is
    still unfinished.
    62c66ae7
zmq_ctx_set.txt 4.16 KB