Revert "Problem: REP leaves label msgs for dead REQ in pipe"

This commit is contained in:
BJovke
2017-05-16 11:20:03 +02:00
committed by GitHub
parent 75cc2015d1
commit 1489fc1ac5
2 changed files with 2 additions and 53 deletions

View File

@@ -273,9 +273,6 @@ int zmq::router_t::xsend (msg_t *msg_)
// Message failed to send - we must close it ourselves.
int rc = msg_->close ();
errno_assert (rc == 0);
// HWM was checked before, so the pipe must be gone. Roll back
// messages that were piped, for example REP labels.
current_out->rollback ();
current_out = NULL;
} else {
if (!more_out) {