- 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.
-
- 04 Dec, 2013 1 commit
-
-
Brandon Carpenter authored
Adds sets of process (Linux only), user, and group IDs for filtering connections from peer processes over IPC transport. If all of the filter sets are empty, every connection is accepted. Otherwise, credentials for a connecting process are checked against the filter sets and the connection is only accepted if a match is found. This commit is part of LIBZMQ-568 and only adds the filter sets and implements the filter in the IPC accept method. The interface for adding IDs to filter sets are included in a separate commit. IPC accept filtering is supported only on Linux and OS X.
-
- 15 Jun, 2013 1 commit
-
-
xinchuan authored
-
- 17 May, 2013 1 commit
-
-
Pieter Hintjens authored
- we need to switch to PLAIN according to options.mechanism - we need to catch case when both peers are as-server (or neither is) - and to use username/password from options, for client
-
- 14 May, 2013 1 commit
-
-
Martin Hurton authored
This implements protocol handshake. We still need to design and implement 1) API changes so a user can set username and password, and 2) a mechanism for engine to authenticate users.
-
- 12 Mar, 2013 1 commit
-
-
Pieter Hintjens authored
Copyrights had become ads for Sustrik's corporate sponsors, going against the original agreement to share copyrights with the community (that agreement was: one line stating iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads is also unfair to the many individual authors. I've removed ALL corporate title from the source files so the copyright statements can now be centralized in AUTHORS and source files can be properly updated on an annual basis.
-
- 22 Jan, 2013 1 commit
-
-
Charles McGarvey authored
This accomplishes the same thing as 2e2ef7fd in a potentially cleaner way.
-
- 21 Jan, 2013 1 commit
-
-
Charles McGarvey authored
-
- 17 Nov, 2012 1 commit
-
-
Lourens Naudé authored
Copy monitor specific event endpoints to event messages as the engine etc. can be released at anytime
-
- 30 Sep, 2012 1 commit
-
-
Michel Pelletier authored
Handle insufficient resources on accept() decently If accept() call fails due to insuffient OS resources the new connection is rejected.
-