0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-28 16:15:23 +08:00

92 Commits

Author SHA1 Message Date
Luca Boccassi
5002674fbe Problem: my name is not in the AUTHORS file
Solution: add myself to the list
2016-02-16 14:11:53 +00:00
Rik van der Heijden
8a9fece30a Backport zeromq/libzmq#1382: Do not send data to backend when there are no listeners (+ test) 2015-05-01 20:51:37 +02:00
Brandon Carpenter
668f000cb1 Add abstract namespace support for IPC sockets on Linux.
Converts an initial strudel or "at sign" (@) in the Unix socket path to
a NULL character ('\0') indicating that the socket uses the abstract
namespace instead of the filesystem namespace.  For instance, binding a
socket to 'ipc://@/tmp/tester' will not create a file associated with
the socket whereas binding to 'ipc:///tmp/tester' will create the file
/tmp/tester.  See issue 567 for more information.
2013-10-05 09:20:13 +02:00
Richard Newton
78cabfe8ea More testing github jenkins integration 2013-09-19 12:58:58 +01:00
Richard Newton
544575d18c Revert "More testing github jenkins integratio"
This reverts commit 0640d6d2baa014ad93ba57ad2f692af8f9081eb0.
2013-09-19 12:28:21 +01:00
Richard Newton
0640d6d2ba More testing github jenkins integratio 2013-09-19 12:11:50 +01:00
Richard Newton
575ff39bfe Testing github jenkins integration 2013-09-19 12:02:17 +01:00
Christian Kamm
c56d797bf9 REQ sockets drop replies from unasked peers.
* Add lb_t::sendpipe() that returns the pipe that was used for sending,
  similar to fq_t::recvpipe().
* Add forwarder functions to dealer_t to access these two.
* Add logic to req_t to ignore replies on pipes that are not the one
  where the request was sent.
* Enable test in test_spec_req.
2013-07-14 07:55:47 +02:00
Ian Barber
09a00de803 Merge pull request #534 from hintjens/master
Reverted cleanups of copyrghts
2013-03-21 05:07:46 -07:00
Ken Steele
3286bf5ab6 On the Tile architecture, use atomic instructions for atomic ptr and counter.
For atomic_counter and atomic_ptr classes, detect the Tile architecture
using #if defined __tile__ matching ARM and Solaris and then use the
Tile atomic instructions. Without this change, the default Mutex
implementation is used, which is slower.
2013-03-20 12:54:38 -04:00
Pieter Hintjens
8c96deb900 Added corporate copyrights 2013-03-20 11:59:23 +01:00
Attila Mark
a22714dd79 Improvements and fixes for performance of PUSH/PULL in local_thr and remote_thr.
- option to set number of zmq threads on the command line for local_thr
- option to set number of zmq_threads and workers in remote_thr
- option to set SND/RCV buffer sizes on command line
- option to set whether to PUSH/PULL on command line
- option to set to use zmq_recv or zmq_msg for transfer on command line
- better timing function
- corrected and improved throughput reporting
- HWM and DELAY socket options
2013-02-26 12:10:27 -08:00
Stefan Radomski
66c22456b9 Close pipes for inproc sockets on zmq_disconnect
- fixes LIBZMQ-476 and LIBZMQ-475
2012-12-04 15:14:21 +01:00
Hardeep
83387b4073 Added support for non-zmq tcp client connections to router socket.
- Created a new option ZMQ_ROUTER_RAW_SOCK
    - Added new raw_encoder and raw_decoder to receive and send messages in raw form to remote client
    - Added test case file tests/test_raw_sock.cpp

    o To create a raw router sock set the ZMQ_ROUTER_RAW_SOCK option
    o ZMQ_MSGMORE flag is ignored for non-id messages
    o To terminate a remote connection send id message followed by zero length data message
2012-10-29 00:03:36 -07:00
Lourens Naudé
5c6f72c17c ZMQ_MONITOR socket option registers a callback / event sink for changes in socket state 2012-05-04 02:32:46 +01:00
Ian Barber
770f84331f Allowing value 0, and moving code to get_address functions based on feedback 2012-02-11 15:09:03 +00:00
Martin Sustrik
e7d748e812 Mika Fischer added to AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-12-03 13:27:20 +01:00
Martin Sustrik
daac9ac5b2 Phillip Kovacs added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-21 08:11:33 +01:00
Martin Sustrik
5c1a91e33e Stuart Webster added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-19 10:06:06 +01:00
Martin Sustrik
a7b0b0d3dc AUTHORS file changed
- AJ Lewis added
- Martin Lucina's email address changed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-09 15:41:51 +01:00
Martin Sustrik
11e31988e1 Chuck Remeas added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-06 14:09:20 +01:00
Martin Sustrik
541b83bc02 Perry Kundert added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-10-29 14:49:08 +02:00
Martin Sustrik
9b3e61a178 Ben Gray added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-10-27 14:02:57 +02:00
Martin Sustrik
68ab5f87ed Paul Betts added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-10-27 11:51:23 +02:00
Ghislain Putois
85851d3127 Preliminary Android support
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>
2011-08-15 19:39:21 +02:00
Andrew Thompson
4f4cc73280 Use strrchr to ensure we split off the last colon for the service port
IPv6 addresses have colons and will produce invalid data for the getaddrinfo lookup.

Signed-off-by: Andrew Thompson <andy@fud.org.nz>
2011-06-29 23:48:19 +02:00
Carl Clemens
3ae73ee11f Typo in zmq_msg_size(3) fixed
Signed-off-by: Carl Clemens <carlclemens1@yahoo.com>
2011-06-26 16:19:45 +02:00
Martin Sustrik
3d4203decf Fabien Ninoles added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-23 21:37:52 +02:00
Martin Sustrik
da7b6d0b38 Paul Colomiets added to AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-17 10:13:54 +02:00
Martin Sustrik
3ef7c747ac Tore Halvorsen added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-04 12:43:23 +02:00
Martin Sustrik
cce57617c7 Ian Barber and Zed Shaw added to credits section
talks on conferences, videos

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-31 23:49:28 +02:00
Martin Sustrik
5142a1624b Robert G. Jakabosky added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-31 23:16:14 +02:00
Brett Cameron
b00be2651c Different fixed to make OpenVMS port work.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-08 14:39:52 +01:00
Michael Compton
fbe5d859f4 Added note regarding setting sockopt before bind/connect
Signed-off-by: Michael Compton <michael.compton@littleedge.co.uk>
2011-02-15 09:33:19 +01:00
Chris Rempel
4efead1bbb Fixed autogen.sh warnings on Debian 6 systems.
Signed-off-by: Chris Rempel <csrl@gmx.com>

Please enter the commit message for your changes. Lines starting
2011-02-05 14:42:21 +01:00
Thijs Terlouw
f7f1dfc86d ZMQ_RECONNECT_IVL_MAX socket option added
It allows for exponential back-off strategy when reconnecting.

Signed-off-by: Thijs Terlouw <thijsterlouw@gmail.com>
2011-01-26 07:01:06 +01:00
Martin Sustrik
59fa0c9b46 Gerard Toonstra added to the authors file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-01-14 12:41:12 +01:00
Neale Ferguson
7051387108 Support dynamic generation of C preprocessor definitions for PGM rather than hardcoding them.
Signed-off-by: Neale Ferguson <neale@sinenomine.net>
2011-01-12 09:22:25 +01:00
Martin Sustrik
bd0ba6e89a Size of inproc hwm and swap is sum of peers' hwms and swaps
The meat of the patch was contributed by Douglas Creager.
Martin Sustrik implemented storing peer options in inproc
endpoint repository.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-01-10 13:53:30 +01:00
Min Ragan-Kelley
08cd2ce05d resolve "function declaration isn't a prototype"
change two declarations in headers to form f(void); instead of f();
which eliminates the warnings when compiling against zeromq

Signed-off-by: MinRK <benjaminrk@gmail.com>
2011-01-06 08:42:57 +01:00
Martin Sustrik
a9d969a73e Bob Beaty added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-12-09 21:44:15 +01:00
Martin Sustrik
f77c8ca47f Merge branch 'maint'
* maint:
  Couple of patches for AIX build
2010-11-13 18:16:13 +01:00
Martin Sustrik
ffcb0baa73 Couple of patches for AIX build
- RAND_bytes function resides in crypto library
- pollfd on AIX used 'reqevents' instead of events and 'retnevents'
  instead of 'revents'

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-13 18:08:18 +01:00
Chia-liang Kao
a2500ae348 Fix a bug that zmq_poll's select backend spins when timeout=-1, due to
ptimeout not properly recalculated after first pass.

Signed-off-by: Chia-liang Kao <clkao@clkao.org>
2010-11-12 19:16:00 +01:00
Martin Sustrik
8abe67357a Merge branch 'maint'
* maint:
  Fix socket_t::recv() hang scenario where initial call to process_commands() eats signal

Conflicts:
	src/socket_base.cpp
2010-11-12 14:47:26 +01:00
Marc Rossi
f7123de943 Fix socket_t::recv() hang scenario where initial call to process_commands() eats signal
Added block boolean var to second process_commands() invocation for blocking sockets
instead of always using true.  This prevents the process_commands() call from hanging
when a message is received with an empty queue after the call to xrecv() but
prior to the initial call to process_commands() invoked when ++ticks == inbound_poll_rate.

Signed-off-by: Marc Rossi <mrossi19@gmail.com>
2010-11-12 14:38:25 +01:00
Martin Sustrik
623a9c9f1b Jacob Rideout added to the AUTGORS file.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-04 21:23:07 +01:00
Martin Sustrik
3d01b929fe Peter Bourgon added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-29 08:19:07 +02:00
Martin Sustrik
dace2473f1 Burak Arslan added to the AUTHORS file
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-28 08:44:53 +02:00
Martin Sustrik
401986e6bb Build with MSVC2005 fixed
To use __rdtsc() function MSVC2005 requires including intrin.h

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-26 15:35:56 +02:00