mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 02:42:58 +01:00
Merge pull request #1512 from pijyoi/retransmit_fix
fix: ZMQ_TCP_RETRANSMIT_TIMEOUT not applied to bind socket
This commit is contained in:
commit
b791031423
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user