- 17 Jun, 2014 1 commit
-
-
Pieter Hintjens authored
The example is applications passing invalid arguments to a socket option and then failing to check the return code. The results can be very hard to diagnose. Here are some threads that show the pain this causes: * https://github.com/zeromq/zyre/issues/179 * http://lists.zeromq.org/pipermail/zeromq-dev/2014-June/026388.html One common argument is that a library should never assert, and should pass errors back to the calling application. The counter argument is that when an application is broken enough to pass garbage to libzmq, it cannot be trusted to handle the resulting errors properly. Empirical evidence from CZMQ, where we systematically assert on bad arguments, is that this militant approach makes applications more, not less, robust. I don't see any valid use cases for returning errors on bad arguments, with one exception: zmq_setsockopt can be used to probe whether libzmq was e.g. built with CURVE security. I'd argue that it's nasty to use a side effect like this. If apps need to probe how libzmq was built, this should be done explicitly, and for ALL build options, not just CURVE. There are/were no libzmq test cases that check the return code for an invalid option. For now I've enabled militant assertions using --with-militant at configure time. However I'd like to make this the default setting.
-
- 03 May, 2014 1 commit
-
-
Samuel Martin authored
fork() support is optional and its availability is correctly detected at contfigure time. But test_fork was all always built, preventing build for targets that do not provide fork() from building successfully. This pacth fixes the autotools on this point.
-
- 01 May, 2014 1 commit
-
-
Pieter Hintjens authored
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743508 The ABI in fact changed in two significant ways, one with inproc connects, and one with socket monitoring Solution: generate libzmq.so.4.0.0 library instead. This change should be backported to zeromq-4.x
-
- 24 Apr, 2014 1 commit
-
-
Mike Gatny authored
-
- 15 Mar, 2014 1 commit
-
-
bebopagogo authored
-
- 10 Mar, 2014 1 commit
-
-
Drew Crawford authored
This patch is proposed for https://github.com/zeromq/libzmq/issues/912. If a user specifies that they want libzmq built with libsodium, and the requirement cannot be satisfied, we should error at the user so they can either A) install libsodium to a reasonable location or B) relax their requirement for libsodium support. Previously a warning was issued in this case, causing users who wanted libsodium support not to get it, which may be discovered at a much later time when their programs didn't work as expected. I release this patch under the LGPL v3 or any later version.
-
- 06 Dec, 2013 3 commits
-
-
Brandon Carpenter authored
Another take on LIBZMQ-568 to allow filtering IPC connections, this time using ZAP. This change is backward compatible. If the ZMQ_ZAP_IPC_CREDS option is set, the user, group, and process IDs of the peer process are appended to the address (separated by colons) of a ZAP request; otherwise, nothing changes. See LIBZMQ-568 and zmq_setsockopt documentation for more information.
-
Brandon Carpenter authored
-
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.
-
- 01 Nov, 2013 1 commit
-
-
Erik Hugne authored
As TIPC transport for 0MQ will only work on post 3.8 Linux kernels where nonblocking connect was added, we add AC_RUN test to check for this functionality. Should the test fail, tipc is excluded from build/test. Signed-off-by:
Erik Hugne <erik.hugne@ericsson.com>
-
- 24 Oct, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 04 Oct, 2013 1 commit
-
-
Brandon Carpenter authored
See issue 567.
-
- 29 Sep, 2013 1 commit
-
-
Matt Connolly authored
-
- 27 Sep, 2013 2 commits
-
-
Matt Connolly authored
-
Matt Connolly authored
-
- 24 Sep, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 23 Sep, 2013 1 commit
-
-
Matt Connolly authored
-
- 01 Sep, 2013 1 commit
-
-
Matt Connolly authored
-
- 28 Jun, 2013 1 commit
-
-
Pieter Hintjens authored
The use of binary for CURVE keys is painful; you cannot easily copy these in e.g. email, or use them directly in source code. There are various encoding possibilities. Base16 and Base64 are not optimal. Ascii85 is not safe for source (it generates quotes and escapes). So, I've designed a new Base85 encoding, Z85, which is safe to use in code and elsewhere, and I've modified libzmq to use this where it also uses binary keys (in get/setsockopt). Very simply, if you use a 32-byte value, it's Base256 (binary), and if you use a 40-byte value, it's Base85 (Z85). I've put the Z85 codec into z85_codec.hpp, it's not elegant C++ but it is minimal and it works. Feel free to rewrap as a real class if this annoys you.
-
- 22 Jun, 2013 1 commit
-
-
Ian Barber authored
Test is skipped if no libsodium. Added warning if libsodium not configured
-
- 01 Jun, 2013 1 commit
-
-
Jose Pedro Oliveira authored
./configure --with-system-pgm detect the OpenPGM 5.2 system library. Note that OpenPGM installs a versioned pkgconfig file (openpgm-5.2.pc, openpgm-5.1.pc).
-
- 07 May, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 28 Apr, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 12 Mar, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 18 Jan, 2013 1 commit
-
-
MinRK authored
AM_CONFIG_HEADER raises an 'obsolete error' with automake 1.13.
-
- 17 Jan, 2013 1 commit
-
-
MinRK authored
autotools warns that configure.in should actually be named configure.ac
-
- 12 Dec, 2012 1 commit
-
-
Steven McCoy authored
-
- 03 Jul, 2012 1 commit
-
-
Cyril Holweck authored
-
- 06 Apr, 2012 1 commit
-
-
Sergey KHripchenko authored
-
- 05 Apr, 2012 1 commit
-
-
Sergey KHripchenko authored
currently not fully cross-platform work on linux possibly work in *bsd and could be enhanced to work on windows
-
- 07 Feb, 2012 1 commit
-
-
skaller authored
sys/uio.h contains the XSI vector I/O data structure.
-
- 19 Jan, 2012 1 commit
-
-
AJ Lewis authored
Add the '-Ae' flag and check for gethrtime() on HPUX Check if CLOCK_MONOTONIC defined before using it - if not, use gethrtime() if it's available, otherwise fall back to the old behavior. Signed-off-by:
AJ Lewis <aj.lewis@quantum.com>
-
- 03 Dec, 2011 2 commits
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Mika Fischer authored
the sysadmin, which could previously cause long hangs for instance in zmq_poll. Signed-off-by:
Mika Fischer <mika.fischer@zoopnet.de>
-
- 09 Nov, 2011 2 commits
-
-
Martin Lucina authored
libzmq master (3.1) is not ABI compatible with libzmq 2.1.x or 3.0 (removed functionality), hence the ABI version needs to be set to 3. Signed-off-by:
Martin Lucina <martin@lucina.net>
-
Martin Lucina authored
libzmq master (3.1) is not ABI compatible with libzmq 2.1.x or 3.0 (removed functionality), hence the ABI version needs to be set to 3. Signed-off-by:
Martin Lucina <martin@lucina.net>
-
- 31 Oct, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 26 Oct, 2011 1 commit
-
-
Mikko Koppanen authored
Signed-off-by:
Mikko Koppanen <mkoppanen@php.net>
-
- 04 Oct, 2011 1 commit
-
-
Steven McCoy authored
Signed-off-by:
Steven McCoy <steven.mccoy@miru.hk>
-