diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-02 17:35:49 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-02 17:35:49 -0800 |
| commit | 13e380343c0eec96a723e7407d59fb7f5d20aba0 (patch) | |
| tree | f50fdea3117c64d460fc82ce7978b6b4253250cf /src/core/protocol.c | |
| parent | ec2b1275153487fda661942d9b98aab2567b612e (diff) | |
| download | nng-13e380343c0eec96a723e7407d59fb7f5d20aba0.tar.gz nng-13e380343c0eec96a723e7407d59fb7f5d20aba0.tar.bz2 nng-13e380343c0eec96a723e7407d59fb7f5d20aba0.zip | |
Fixes to enable REQ/REP to operate.
This uncovered a few problems - inproc was not moving the headers
to the body on transmit, and the message chunk allocator had a serious
bug leading to memory corruption. I've also added a message dumper,
which turns out to be incredibly useful during debugging.
Diffstat (limited to 'src/core/protocol.c')
| -rw-r--r-- | src/core/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/protocol.c b/src/core/protocol.c index 072cc301..27430771 100644 --- a/src/core/protocol.c +++ b/src/core/protocol.c @@ -68,6 +68,7 @@ nni_proto_number(const char *name) return (NNG_PROTO_NONE); } + uint16_t nni_proto_peer(uint16_t num) { @@ -78,4 +79,3 @@ nni_proto_peer(uint16_t num) } return (p->proto_peer); } - |
