Removed pointless comment

This commit is contained in:
Pieter Hintjens 2013-03-12 16:15:54 +01:00
parent 8358d4e832
commit 0e77d65f12
2 changed files with 0 additions and 13 deletions

View File

@ -25,12 +25,6 @@ zmq::dealer_t::dealer_t (class ctx_t *parent_, uint32_t tid_, int sid_) :
socket_base_t (parent_, tid_, sid_)
{
options.type = ZMQ_DEALER;
// TODO: Uncomment the following line when DEALER will become true DEALER
// rather than generic dealer socket.
// If the socket is closing we can drop all the outbound requests. There'll
// be noone to receive the replies anyway.
// options.delay_on_close = false;
}
zmq::dealer_t::~dealer_t ()

View File

@ -36,13 +36,6 @@ zmq::router_t::router_t (class ctx_t *parent_, uint32_t tid_, int sid_) :
raw_sock(false)
{
options.type = ZMQ_ROUTER;
// TODO: Uncomment the following line when ROUTER will become true ROUTER
// rather than generic router socket.
// If peer disconnect there's noone to send reply to anyway. We can drop
// all the outstanding requests from that peer.
// options.delay_on_disconnect = false;
options.recv_identity = true;
options.raw_sock = false;