- 28 May, 2012 1 commit
-
-
Martin Hurton authored
-
- 18 Apr, 2012 2 commits
-
-
Sergey KHripchenko authored
-
Sergey KHripchenko authored
fix bug in zmq::tcp_address_t::resolve_interface() where all resolved interface ip's overwrited by 0.0.0.0
-
- 13 Apr, 2012 1 commit
-
-
Sergey KHripchenko authored
-
- 12 Apr, 2012 1 commit
-
-
Sergey KHripchenko authored
Assign arbitrary number of filters that will be applied for each new TCP transport connection on a listening socket. If no filters applied, then TCP transport allows connections from any ip. If at least one filter is applied then new connection source ip should be matched. To clear all filters call zmq_setsockopt(socket, ZMQ_TCP_ACCEPT_FILTER, NULL, 0). Filter is a null-terminated string with ipv6 or ipv4 CIDR. For example: localhost 127.0.0.1 mail.ru/24 ::1 ::1/128 3ffe:1:: 3ffe:1::/56 Returns -1 if the filter couldn't be assigned(format error or ipv6 filter with ZMQ_IPV4ONLY set) P.S. The only thing that worries me is that I had to re-enable 'default assign by reference constructor/operator' for 'tcp_address_t' (and for my inherited class tcp_address_mask_t) to store it in std::vector in 'options_t'...
-
- 27 Mar, 2012 3 commits
-
-
Martin Hurton authored
-
Martin Hurton authored
This still rejects 00 as port number.
-
Martin Hurton authored
-
- 25 Mar, 2012 1 commit
-
-
Martin Hurton authored
The problem is that even though the AI_V4MAPPED flag is defined on FreeBSD, the getaddrinfo function does not support it and returns EAI_BADFLAGS. The patch also sets the flag on Windows if it is defined there. This is true for Windows Vista and later. Fixes issue #331.
-
- 16 Feb, 2012 1 commit
-
-
Staffan Gimåker authored
This allows us to actually report an error to the caller on resolve failure, rather than asserting later on in the io thread. Signed-off-by:
Staffan Gimåker <staffan@spotify.com>
-
- 11 Feb, 2012 1 commit
-
-
Ian Barber authored
-
- 08 Feb, 2012 1 commit
-
-
Ian Barber authored
-
- 15 Nov, 2011 1 commit
-
-
Martin Sustrik authored
The missing tokens broke the build if you used -Werror -Wundef Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 04 Nov, 2011 1 commit
-
-
Brett Cameron authored
Signed-off by: Brett Cameron <Brett.Cameron@hp.com>
-
- 01 Nov, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 31 Oct, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 03 Sep, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 02 Sep, 2011 1 commit
-
-
Martin Sustrik authored
When exec is executed to start a different process image old 0MQ file descriptors could stay open, thus blocking TCP ports and alike. This patch should solve the problem. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 19 Aug, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 18 Aug, 2011 3 commits
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 15 Aug, 2011 2 commits
-
-
Ghislain Putois authored
Some small changes to prepare a cross-compilation for the Android platform Signed-off-by:
Ghislain Putois <ghpu@infonie.fr> Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Steven McCoy authored
Signed-off-by:
Steven McCoy <steven.mccoy@miru.hk> Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 14 Aug, 2011 2 commits
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 08 Aug, 2011 2 commits
-
-
Steven McCoy authored
Signed-off-by:
Steven McCoy <steven.mccoy@miru.hk> Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
Steven McCoy authored
Signed-off-by:
Steven McCoy <steven.mccoy@miru.hk>
-
- 29 Jul, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 28 Jul, 2011 1 commit
-
-
Martin Sustrik authored
Instead of being spread throughout the codebase, the tuning is done in tune_tcp_socket() function. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 29 Jun, 2011 1 commit
-
-
Andrew Thompson authored
IPv6 addresses have colons and will produce invalid data for the getaddrinfo lookup. Signed-off-by:
Andrew Thompson <andy@fud.org.nz>
-
- 17 May, 2011 1 commit
-
-
Paul Colomiets authored
Signed-off-by:
Paul Colomiets <pc@gafol.net>
-
- 15 May, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 21 Apr, 2011 1 commit
-
-
Martin Sustrik authored
This patch addresses serveral issues: 1. It gathers message related functionality scattered over whole codebase into a single class. 2. It makes zmq_msg_t an opaque datatype. Internals of the class don't pollute zmq.h header file. 3. zmq_msg_t size decreases from 48 to 32 bytes. That saves ~33% of memory in scenarios with large amount of small messages. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 09 Mar, 2011 1 commit
-
-
Martin Sustrik authored
Compilation of ip.cpp have failed because EPROTONOSUPPORT was undefined. Including zmq.h should help as the error code is defined there. Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 08 Mar, 2011 1 commit
-
-
Brett Cameron authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 02 Mar, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 22 Feb, 2011 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 30 Oct, 2010 1 commit
-
-
Martin Sustrik authored
Signed-off-by:
Martin Sustrik <sustrik@250bpm.com>
-
- 21 Jul, 2010 1 commit
-
-
Martin Lucina authored
-