diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-01-19 12:08:08 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-01-19 19:34:57 -0800 |
| commit | 1a4e60f94dd4febffe3b651b5c800f1b9096f3d9 (patch) | |
| tree | 79c47f1b53df85eab3ba456066a80b0af38eafcf /src/protocol/reqrep0 | |
| parent | 15f5a7d8cee6416bf4748d15f97ac59c13c2ac75 (diff) | |
| download | nng-1a4e60f94dd4febffe3b651b5c800f1b9096f3d9.tar.gz nng-1a4e60f94dd4febffe3b651b5c800f1b9096f3d9.tar.bz2 nng-1a4e60f94dd4febffe3b651b5c800f1b9096f3d9.zip | |
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.
Diffstat (limited to 'src/protocol/reqrep0')
| -rw-r--r-- | src/protocol/reqrep0/req.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |
