mirror of
https://github.com/zeromq/libzmq.git
synced 2025-05-29 15:34:09 +02:00
Removed pointless comment
This commit is contained in:
parent
8358d4e832
commit
0e77d65f12
@ -25,12 +25,6 @@ zmq::dealer_t::dealer_t (class ctx_t *parent_, uint32_t tid_, int sid_) :
|
|||||||
socket_base_t (parent_, tid_, sid_)
|
socket_base_t (parent_, tid_, sid_)
|
||||||
{
|
{
|
||||||
options.type = ZMQ_DEALER;
|
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 ()
|
zmq::dealer_t::~dealer_t ()
|
||||||
|
@ -36,13 +36,6 @@ zmq::router_t::router_t (class ctx_t *parent_, uint32_t tid_, int sid_) :
|
|||||||
raw_sock(false)
|
raw_sock(false)
|
||||||
{
|
{
|
||||||
options.type = ZMQ_ROUTER;
|
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.recv_identity = true;
|
||||||
options.raw_sock = false;
|
options.raw_sock = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user