Merge pull request #1512 from pijyoi/retransmit_fix

fix: ZMQ_TCP_RETRANSMIT_TIMEOUT not applied to bind socket
This commit is contained in:
Constantin Rack 2015-08-07 10:02:52 +02:00
commit b791031423

View File

@ -100,6 +100,7 @@ void zmq::tcp_listener_t::in_event ()
tune_tcp_socket (fd);
tune_tcp_keepalives (fd, options.tcp_keepalive, options.tcp_keepalive_cnt, options.tcp_keepalive_idle, options.tcp_keepalive_intvl);
tune_tcp_retransmit_timeout (fd, options.tcp_retransmit_timeout);
// remember our fd for ZMQ_SRCFD in messages
socket->set_fd(fd);