1. 25 Apr, 2013 1 commit
    • Jon Dyte's avatar
      Experimental function zmq_recviov doesnt work correctly in a couple of cases · 56ead844
      Jon Dyte authored
      1) VSM - you cannot hand out the 'data' address as it was not allocated on the heap
      2) for other messages the 'data' address cannot be handed out either, as it not the address
      originally returned by malloc and hence cannot be passed to 'free'.
      see msg.cpp
      u.lmsg.content = (content_t*) malloc (sizeof (content_t) + size_);
      ....
      u.lmsg.content->data = u.lmsg.content + 1;
      
      So the function is changed to always malloc a data buffer and copy the data into it.
      There is a possible optimisation using memmove for the non-VSM case but that is not done yet.
      56ead844
  2. 24 Apr, 2013 1 commit
  3. 23 Apr, 2013 2 commits
  4. 22 Apr, 2013 2 commits
  5. 18 Apr, 2013 2 commits
  6. 15 Apr, 2013 4 commits
  7. 14 Apr, 2013 2 commits
  8. 13 Apr, 2013 2 commits
  9. 12 Apr, 2013 5 commits
  10. 11 Apr, 2013 4 commits
  11. 08 Apr, 2013 1 commit
  12. 07 Apr, 2013 2 commits
  13. 01 Apr, 2013 1 commit
  14. 31 Mar, 2013 3 commits
  15. 24 Mar, 2013 4 commits
  16. 21 Mar, 2013 1 commit
  17. 20 Mar, 2013 3 commits