diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-08-07 18:16:54 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-08-07 18:16:54 -0700 |
| commit | 491f1c1a5a209545287f9cc79f59ee816f5b9a41 (patch) | |
| tree | eecce44404886f4b85c3d45d867424d62a6b592d /src/core | |
| parent | 705d39a6daf99b44c820631f04a116cc09b134b5 (diff) | |
| download | nng-491f1c1a5a209545287f9cc79f59ee816f5b9a41.tar.gz nng-491f1c1a5a209545287f9cc79f59ee816f5b9a41.tar.bz2 nng-491f1c1a5a209545287f9cc79f59ee816f5b9a41.zip | |
Fix crash when using legacy send API with NN_MSG.
We introduced the compat_msg.c from the old msg.c in the nanomsg
repo. While here, we found that the handling for send() was badly
wrong, by a level of indirection. We simplified the code to so that
nn_send() and nn_recv() are simple wrappers around the nn_sendmsg()
and nn_recvmsg() APIs (as in old nanomsg). This may not be quite as
fast, but it's more likely to be correct and reduces complexity.
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions
