- 18 May, 2019 1 commit
-
-
Luca Boccassi authored
Solution: now that clang-format 6+ is used in the CI, fix it
-
- 07 Feb, 2019 3 commits
-
-
Simon Giesecke authored
Solution: added TODO comment for now
-
Simon Giesecke authored
Solution: move unblock call to original location
-
Simon Giesecke authored
Solution: restore "local" flag values in call to resolve Fixes #3394
-
- 05 Feb, 2019 2 commits
-
-
Simon Giesecke authored
Solution: use tcp_open_socket function
-
Simon Giesecke authored
Problem: tcp_connecter_t and tcp_listener_t duplicate code around opening and configuring a TCP socket Solution: extract common parts into tcp_open_socket function
-
- 02 Feb, 2019 2 commits
-
-
Simon Giesecke authored
Solution: pass the local address by subclasses to create_engine
-
Simon Giesecke authored
Solution: add monitor event socket option
-
- 01 Feb, 2019 7 commits
-
-
Simon Giesecke authored
Solution: removed definitions and uses in subclasses
-
Simon Giesecke authored
Solution: pull up common code, introduce new create_engine function in base class
-
Simon Giesecke authored
Solution: pull up
-
Simon Giesecke authored
Solution: pull up tcp_connecter_t::rm_handle and use in all subclasses
-
Simon Giesecke authored
Problem: process_plug, get_new_reconnect_ivl and add_reconnect_timer duplicated across subclasses of stream_connector_base_t Solution: pull up to stream_connector_base_t
-
Simon Giesecke authored
Solution: pull up to stream_connecter_base_t
-
Simon Giesecke authored
Solution: extract common base class stream_connecter_base_t
-
- 12 Jun, 2018 1 commit
-
-
ehilscher authored
* Problem: connecter classes do not handle ZMQ_RECONNECT_IVL of -1 Solution: Add guards to prevent a reconnect timer from starting if ZMQ_RECONNECT_IVL is -1 (Issue 3158)
-
- 30 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: introduced named constants
-
- 27 May, 2018 1 commit
-
-
Simon Giesecke authored
Problem: inconsistent naming style for private data members, conflicts with naming of local variables and member functions Solution: apply and check _lower_case naming style for private data members
-
- 26 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: define and apply parameter naming style: lower_case_
-
- 23 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: make error handling consistent and use retired_fd to remove code duplication
-
- 22 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: add const
-
- 18 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: replace by C++-style casts
-
- 16 May, 2018 1 commit
-
-
Antony Searle authored
-
- 12 Mar, 2018 1 commit
-
-
Sergey Kachanovskiy authored
* Fixes issue 2963, ref stream_engine.cpp:981 * Fixes issue 2963, ref socks_connecter.cpp:158 * Fixes issue 2963, ref tcp_listener.cpp:144 * Fixes issue 2963, ref tcp_connecter.cpp:423 * Fixes issue 2963, ref socks_connecter.cpp:436 * Fixes issue 2963, ref tcp_listener.cpp:179 * Fixes issue 2963, ref tcp_listener.cpp:268 * Fixes issue 2963, ref tcp_connecter.cpp:160
-
- 10 Mar, 2018 2 commits
-
-
Luca Boccassi authored
Solution: commit clang-format-diff
-
Manuel Segura authored
* Problem: Still need to port over more files to VxWorks 6.x Solution: Port more files to VxWorks 6.x * Problem: Need to port over remaining files to VxWorks 6.x. Also remove POSIX thread dependency for VxWorks (because of priority inversion problem in POSIX mutexes with VxWorks 6.x processes) Solution: Port over remaining files to VxWorks 6.x. Also removed POSIX thread dependency for VxWorks * Problem: Needed to modify TCP, UDP, TIPC classes with #ifdefs to be compatible with VxWorks 6.x. Solution: Modify TCP, UDP, TIPC classes with #ifdefs to be compatible with VxWorks 6.x
-
- 05 Mar, 2018 1 commit
-
-
Luca Boccassi authored
Solution: run make clang-format-diff and commit the changes.
-
- 09 Feb, 2018 1 commit
-
-
Simon Giesecke authored
Solution: add socket option
-
- 08 Feb, 2018 2 commits
-
-
Simon Giesecke authored
tcp_connecter and tcp_listener Solution: remove duplication and redundant member, align handling of handle in tcp_connecter and tcp_listener
-
sigiesec authored
Solution: add const where easily possible
-
- 02 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: applied clang-format
-
- 31 Jul, 2017 1 commit
-
-
Brian Russell authored
Linux now supports Virtual Routing and Forwarding (VRF) as per: https://www.kernel.org/doc/Documentation/networking/vrf.txt In order for an application to bind or connect to a socket with an address in a VRF, they need to first bind the socket to the VRF device: setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, strlen(dev)+1); Note "dev" is the VRF device, eg. VRF "blue", rather than an interface enslaved to the VRF. Add a new socket option, ZMQ_BINDTODEVICE, to bind a socket to a device. In general, if a socket is bound to a device, eg. an interface, only packets received from that particular device are processed by the socket. If device is a VRF device, then subsequent binds/connects to that socket use addresses in the VRF routing table.
-
- 04 Apr, 2017 1 commit
-
-
Jake Cobb authored
* Prevent DOS by asserts in TCP tuning -Propagates socket option errors from the tuning functions to the callers. -Asserts a subset of error conditions during tuning, excluding external network causes. -Checks tuning results in 3 call sites and treats them like failures to connect, accept, etc. * Fix variable name * Remove lambda requiring C++11
-
- 23 Oct, 2016 1 commit
-
-
Luca Boccassi authored
Solution: during a connect with a TCP endpoint if a source address is passed set the SO_REUSEADDR flag on the socket before the bind system call. Add unit test to cover this case for both IPv4 and IPv6.
-
- 01 Jun, 2016 1 commit
-
-
Yann Diorcet authored
-
- 14 May, 2016 1 commit
-
-
evoskuil authored
-
- 08 May, 2016 1 commit
-
-
KIU Shueng Chuan authored
-
- 04 May, 2016 1 commit
-
-
Doron Somech authored
-
- 01 May, 2016 1 commit
-
-
hitstergtd authored
Solution: fix it
-
- 07 Apr, 2016 1 commit
-
-
Luca Boccassi authored
Solution: if opening an IPv6 TCP socket fails because IPv6 is not available, try to open an IPv4 socket instead when creating and connecting a TCP endpoint.
-