From 0e77d65f128251cd63dada27ce95849b3b815d29 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens Date: Tue, 12 Mar 2013 16:15:54 +0100 Subject: [PATCH] Removed pointless comment --- src/dealer.cpp | 6 ------ src/router.cpp | 7 ------- 2 files changed, 13 deletions(-) diff --git a/src/dealer.cpp b/src/dealer.cpp index 963f4d2a..7c6c2dde 100644 --- a/src/dealer.cpp +++ b/src/dealer.cpp @@ -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 () diff --git a/src/router.cpp b/src/router.cpp index 4829972c..8c5bbffd 100644 --- a/src/router.cpp +++ b/src/router.cpp @@ -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;