From 13e380343c0eec96a723e7407d59fb7f5d20aba0 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 2 Jan 2017 17:35:49 -0800 Subject: 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. --- src/core/pipe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/pipe.h') 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; -- cgit v1.2.3-70-g09d2