From 848f8f62d7c6d6ea061dd0513a6bffc1ef358ff3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 9 Jan 2017 13:01:22 -0800 Subject: Add survey test (and fix survey pattern). As part of this, we've added a way to unblock callers in a message queue with an error, even without a signal channel. This was necessary to interrupt blockers upon survey timeout. They will get NNG_ETIMEDOUT, but afterwards callers get NNG_ESTATE. --- src/protocol/reqrep/req.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/protocol/reqrep/req.c') diff --git a/src/protocol/reqrep/req.c b/src/protocol/reqrep/req.c index 5b9671f8..73ef4969 100644 --- a/src/protocol/reqrep/req.c +++ b/src/protocol/reqrep/req.c @@ -79,8 +79,6 @@ nni_req_sock_close(void *arg) { nni_req_sock *req = arg; - // Shut down the resender. We request it to exit by clearing - // its old value, then kick it. req->closing = 1; nni_cv_wake(&req->cv); } -- cgit v1.2.3-70-g09d2