From d0c0c9969ab5552889f91d09db6dbf6b79f6705c Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 28 Jun 2017 23:10:33 -0700 Subject: We don't need pipe_hold or pipe_rele anymore. --- src/protocol/reqrep/rep.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/protocol/reqrep') diff --git a/src/protocol/reqrep/rep.c b/src/protocol/reqrep/rep.c index 38bf082a..036904b1 100644 --- a/src/protocol/reqrep/rep.c +++ b/src/protocol/reqrep/rep.c @@ -373,8 +373,7 @@ nni_rep_pipe_recv_cb(void *arg) malformed: // Failures here are bad enough to warrant to dropping the conn. nni_msg_free(msg); - nni_pipe_close(rp->pipe); - nni_pipe_rele(rp->pipe); + nni_pipe_stop(rp->pipe); } -- cgit v1.2.3-70-g09d2