Commit Graph

79 Commits

Author SHA1 Message Date
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
Toralf Wittner
a1474e3057 Cancel tx_timer_id in pgm_sender_t::out_event().
Signed-off-by: Toralf Wittner <toralf.wittner@gmail.com>
2010-10-16 08:27:57 +02:00
Martin Sustrik
027eed41b8 Merge branch 'maint'
* maint:
  Fix memory leak under Windows
2010-10-15 17:46:21 +02:00
Taras Shpot
6e95205333 Fix memory leak under Windows
The comment about memory ownership in uuid_t::to_string
was misleading as on most platforms the buffer is a field
of the object;
The string allocated in UuidToString() wasn't properly freed
with RpcStringFree()

Signed-off-by: Taras Shpot <taras.shpot@eleks.com>
2010-10-15 17:45:02 +02:00
Mikko Koppanen
e33e4d7650 ICC related qualifier fix
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2010-10-15 10:38:09 +02:00
Martin Pales
da73b7c6f6 zmq::devpoll_t : correct a typo in loop()
A minor typo correction to resolve compilation error on Solaris.

Signed-off-by: Martin Pales <m.pales@gmail.com>
2010-10-14 08:38:11 +02:00
Martin Sustrik
5ae878b891 Merge branch 'maint'
* maint:
  Add support for RHEL6 in the spec file
2010-10-13 08:01:13 +02:00
Sebastian Otaegui
2568947a71 Add support for RHEL6 in the spec file
Signed-off-by: Sebastian Otaegui <feniix@gmail.com>
2010-10-13 07:59:50 +02:00
Christian Gudrian
f5030a93a5 Execute the timers before pollset initialisation.
Since executing the timers might modify the source pollsets we have
to defer the initialisation until after the timers have executed.

Signed-off-by: Christian Gudrian <christian.gudrian@fluidon.com>
2010-10-09 19:19:50 +02:00
Nir Soffer
1d431190f5 make sure that reader does not terminate in the middle of a multipart message 2010-10-02 10:01:18 +02:00
Martin Sustrik
ac9b05c36b Merge branch 'maint'
* maint:
  zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed
2010-09-30 15:12:06 +02:00
Max Wolf
79aea5ffa6 zmq_msg_move called on uninitialised message in xrep_t::xrecv -- fixed 2010-09-30 15:10:47 +02:00
Ilja Golshtein
ec2e85919e C++ binding destructors don't throw exceptions 2010-09-30 09:11:51 +02:00
Martin Sustrik
10bb9d0405 Dhammika Pathirana was missing from the AUTOHRS file for some reason -- fixed 2010-09-28 15:32:12 +02:00