From 1a4e60f94dd4febffe3b651b5c800f1b9096f3d9 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 19 Jan 2020 12:08:08 -0800 Subject: fixes #1154 perf programs could use options to select different protocols This allows --reqrep0, --pair0, --pair1, and --bus0 to be used with the inproc_lat, and also inproc_thr (though only with pair options for that for now). It also introduced --url for both programs to support testing over different transports. Also, we no longer pass out the header for REQ reply -- that is an error, and led to some unfortunate failures when reusing the message. --- src/protocol/reqrep0/req.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/protocol/reqrep0') diff --git a/src/protocol/reqrep0/req.c b/src/protocol/reqrep0/req.c index f5d9bbba..1de93929 100644 --- a/src/protocol/reqrep0/req.c +++ b/src/protocol/reqrep0/req.c @@ -307,7 +307,6 @@ req0_recv_cb(void *arg) goto malformed; } id = nni_msg_trim_u32(msg); - nni_msg_header_must_append_u32(msg, id); // Schedule another receive while we are processing this. nni_mtx_lock(&s->mtx); -- cgit v1.2.3-70-g09d2