- 05 Feb, 2019 1 commit
-
-
Simon Giesecke authored
Solution: unlink the socket file first
-
- 02 Feb, 2019 4 commits
-
-
Simon Giesecke authored
Problem: stream listeners do not provide correct local and remote address information (test_monitor is failing) Solution: query local and remote addresses on accepting a connection
-
Simon Giesecke authored
Problem: get_socket_address and get_socket_name not available throughout libzmq and restricted to local address Solution: move to address.hpp/.cpp and generalize
-
Simon Giesecke authored
Solution: add monitor event socket option
-
Simon Giesecke authored
Solution: pull up to base class
-
- 01 Feb, 2019 4 commits
-
-
Simon Giesecke authored
Solution: also use get_socket_address from base class
-
Simon Giesecke authored
Solution: extract function create_engine into base class
-
Simon Giesecke authored
Solution: extract common base class stream_listener_base_t
-
Simon Giesecke authored
Solution: add underscore prefix
-
- 10 Aug, 2018 2 commits
-
-
Simon Giesecke authored
-
Simon Giesecke authored
Fixed naming for filter parameter, removed unnecessary temporary variable, fixed naming of local variable
-
- 27 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: replace by static_cast/reinterpret_cast
-
- 23 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: extracted make_socket_noninheritable function
-
- 13 May, 2018 1 commit
-
-
Luca Boccassi authored
Solution: initialise it
-
- 10 Mar, 2018 1 commit
-
-
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
-
- 02 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: applied clang-format
-
- 18 Nov, 2017 1 commit
-
-
Luca Boccassi authored
Solution: check for availability in CMake and autoconf before using it
-
- 06 Oct, 2017 1 commit
-
-
Luca Boccassi authored
Solution: take a copy of the file descriptor before setting it to retired_fd.
-
- 05 Oct, 2017 1 commit
-
-
Ilya Kulakov authored
Solution: Don't unlink file on close File may not belong to the socket at that point.
-
- 04 Jan, 2017 1 commit
-
-
Luca Boccassi authored
Solution: setsockopt returns EINVAL if the connection was closed by the peer after the accept returned a valid socket. This is a valid network error and should not cause an assert. To handle this we have to extract the setsockopt from the stream engine, as there's no clean way to return an error from the constructor. Instead, try to set this option before creating the engine in the callers, and return immediately as if the accept had failed to avoid churn. Do the same for the connect calls by setting the option in open_socket, so that the option for that case is set even before connecting, so there's no possible race condition. Since this has to be done in 4 places (tcp/ipc listener, socks connecter and open_socket) add an utility function in ip.cpp. Fixes #1442
-
- 30 Jul, 2016 2 commits
-
-
hjp authored
-
Peter J. Holzer authored
Linux provides accept4(2) which will return a socket with FD_CLOEXEC set when called with the SOCK_CLOEXEC flag. So call this when available and fall back to fcntl(..., FD_CLOEXEC) if not.
-
- 09 Jun, 2016 1 commit
-
-
Luca Boccassi authored
Solution: use buffer address instead
-
- 10 Apr, 2016 2 commits
-
-
ipc://*Luca Boccassi authored
Solution: if options.use_fd do not create temporary random directory for ipc://*, since the socket is already created and passed to the library by the user.
-
Luca Boccassi authored
Solution: check for availability in autoconf and cmake, and if not available fall back to random file name rather than random directory.
-
- 14 Mar, 2016 1 commit
-
-
Suudy authored
Updated handling of Unix Domain Sockets, make use of temporary directories, and cleanup afterward. Fix test_term_endpoint handling of optvallen
-
- 28 Feb, 2016 1 commit
-
-
Steven Chamberlain authored
Platforms that have struct ucred, typically declare it in sys/ucred.h
-
- 18 Feb, 2016 1 commit
-
-
Osiris authored
Solution: Phase I - make precompiled.hpp be first file included in every source file
-
- 09 Feb, 2016 1 commit
-
-
Luca Boccassi authored
Solution: rename socket option (and variables and files) from usefd to use_fd.
-
- 08 Feb, 2016 1 commit
-
-
Luca Boccassi authored
Solution: rename socket option (and variables and files) from pre_allocated_fd to usefd.
-
- 04 Feb, 2016 1 commit
-
-
Luca Boccassi authored
Solution: parse the value set by the ZMQ_PRE_ALLOCATED_FD sockopt when creating a new IPC socket and use it if valid. Add new tests/test_pre_allocated_fd_ipc.cpp unit test.
-
- 28 Jan, 2016 1 commit
-
-
Constantin Rack authored
Solution: update to 2016
-
- 02 Jun, 2015 1 commit
-
-
Pieter Hintjens authored
Of course people still "can" distributed the sources under the LGPLv3. However we provide COPYING.LESSER with additional grants. Solution: specify these grants in the header of each source file.
-
- 22 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Solution: update for 2015 Fixes #1320
-
- 03 Jul, 2014 1 commit
-
-
Rodrigo Mosconi authored
-
- 02 Apr, 2014 1 commit
-
-
Jan Kryl authored
-
- 02 Jan, 2014 1 commit
-
-
Pieter Hintjens authored
-
- 20 Dec, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 19 Dec, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 06 Dec, 2013 1 commit
-
-
Brandon Carpenter authored
Add explicit check for primary group.
-