aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-01-02 17:35:49 -0800
committerGarrett D'Amore <garrett@damore.org>2017-01-02 17:35:49 -0800
commit13e380343c0eec96a723e7407d59fb7f5d20aba0 (patch)
treef50fdea3117c64d460fc82ce7978b6b4253250cf /src/core/pipe.h
parentec2b1275153487fda661942d9b98aab2567b612e (diff)
downloadnng-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/pipe.h')
-rw-r--r--src/core/pipe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h
index d2819a31..a8d7b286 100644
--- a/src/core/pipe.h
+++ b/src/core/pipe.h
@@ -21,7 +21,7 @@ struct nng_pipe {
uint32_t p_id;
nni_tran_pipe p_tran_ops;
void * p_tran_data;
- nni_proto_pipe p_proto_ops;
+ nni_proto_pipe p_proto_ops;
void * p_proto_data;
nni_list_node p_node;
nni_sock * p_sock;