Commit f64c3858 authored by Constantin Rack's avatar Constantin Rack

Merge pull request #1692 from FredTreg/master

Test for issue #1690 (ZMQ_REQ_RELAXED)
parents c30676fe 9bdb6057
......@@ -110,6 +110,13 @@ int main (void)
s_send_seq (rep [4], "GOOD", SEQ_END);
s_recv_seq (req, "GOOD", SEQ_END);
// Case 3: Check issue #1690. Two send() in a row should not close the
// communication pipes. For example pipe from req to rep[0] should not be
// closed after executing Case 1. So rep[0] should be the next to receive,
// not rep[1].
s_send_seq(req, "J", SEQ_END);
s_recv_seq(rep [0], "J", SEQ_END);
close_zero_linger (req);
for (size_t peer = 0; peer < services; peer++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment