zeromq/libzmq — pull request #606 by ckamm (2013-07-02 13:31:56+00:00)
Title: Add tests for Request-Reply pattern sockets.

Commit message:
* See http://rfc.zeromq.org/spec:28/REQREP
* Not all testable statements are covered.
* At this point, there are several failures:
- test_spec_req: The REQ socket does not correctly discard messages
from peers that are not currently being talked to.
- test_spec_dealer/router: On disconnect, the queues seem to not be
emptied. The DEALER can still receive a message the disconnected
peer sent, the ROUTER can still send to the identity of the dis-
connected peer.

Extra notes:
* Is it ok to merge failing tests?
* Did I do something wrong in the router/dealer destroy-the-pipe test? I didn't expect that one to fail,