49 Commits

Author SHA1 Message Date
Martin Sustrik
43e8868875 Added explicit error message in case of memory exhaustion
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-22 16:23:36 +01:00
Martin Sustrik
5c0931121b Computation of buffer size for PGM fixed.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-02-21 11:22:54 +01:00
Bob Beaty
fcfad5682e Added Recovery Interval in Milliseconds
For very high-speed message systems, the memory used for recovery can get to
be very large. The corrent limitation on that reduction is the ZMQ_RECOVERY_IVL
of 1 sec. I added in an additional option ZMQ_RECOVERY_IVL_MSEC, which is the
Recovery Interval in milliseconds. If used, this will override the previous
one, and allow you to set a sub-second recovery interval. If not set, the
default behavior is to use ZMQ_RECOVERY_IVL.

Signed-off-by: Bob Beaty <rbeaty@peak6.com>
2010-12-09 21:42:58 +01:00
Martin Sustrik
3d8eb071a2 Coding style fixed for pgm_socket
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 16:17:08 +02:00
Martin Sustrik
b358df9fff Name of "GNU Lesser Public License" corrected.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 15:08:28 +02:00
Steven McCoy
8d6979922e Changes for MSVC OpenPGM build.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2010-10-23 14:35:02 +02:00
Steven McCoy
c6d74e0a03 Drop PGM parameters to 100mb friendly range.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2010-10-12 12:26:21 +02:00
Martin Sustrik
7881ba1bcd minor whitespace fix 2010-09-30 11:35:14 +02:00
Steven McCoy
eaa925eca7 FreeBSD doesn't define MSG_ERRQUEUE -- now it's defined in 0MQ 2010-09-30 11:33:35 +02:00
Steven McCoy
d14be62499 more fixes to (e)pgm transport 2010-09-30 09:11:51 +02:00
Steven McCoy
96d85b2098 * Add assertions to check for OpenPGM calls with invalid parameters.
* Assertion to check that pgm_getaddrinfo is actually returning something.
 * Missing pgm_connect call.
 * Typo on TOS causing immediate abort.
 * Placeholder calls for timeouts whilst continuing spin loop functionality.
 * OpenPGM v5 now supports reference counting so remove init checks.
 * Duplicate UDP unicast port setting, requires one unicast and one multicast.
 * Incorrectly set socket rcvbuf size with sndbuf.
 * Replace std::lexicographical_compare of TSI's with long word integer comparisons.
 * pgm_socket_t::receive returns -1 on no data.
2010-09-30 09:11:19 +02:00
Steven McCoy
00cd7d49c7 Upgrade to OpenPGM-5.0.78 2010-09-28 16:35:29 +02:00
Steven McCoy
6705a3d580 some more sanity checks in pgm_socket 2010-05-13 12:43:58 +02:00
Steven McCoy
56262d7ba7 some more sanity checks in pgm_socket 2010-05-13 12:41:20 +02:00
Martin Sustrik
ed8fe68383 handle invalid PGM connection string decently 2010-02-24 17:27:31 +01:00
Martin Sustrik
4405250d93 Multi-hop REQ/REP, part IX., pass the peer identity as far as socket_base_t 2010-02-13 15:30:03 +01:00
Martin Sustrik
4c870ede7f ZMQII-57: Shutdown OpenPGM library 2010-02-09 09:08:37 +01:00
Martin Sustrik
bc90231227 contrain interface name resolving in OpenPGM to IPv4 interfaces 2010-02-04 09:39:57 +01:00
Martin Sustrik
7c25feb51b ZMQII-55: At most one PGM/UDP transport can be opened 2010-02-03 13:06:34 +01:00
malosek
0b97e7a4f2 libpgm updated to 2.6.21rc6 2010-01-27 11:30:22 +01:00
malosek
11fec367d1 added pending event fd handling by the pgm_sender 2010-01-05 11:22:14 +01:00
Martin Sustrik
4f6baf4dde Copyrights transferred from FastMQ to iMatix 2010-01-05 08:29:35 +01:00
malosek
9fadf0b218 fixed minor gcc warning in src/pgm_socket.cpp 2009-12-31 16:18:45 +01:00
Martin Sustrik
5852db451a PGM code cleanup 2009-12-28 11:51:06 +01:00
Martin Sustrik
b3bd4c15fe OpenPGM error handling fixed 2009-12-22 09:01:01 +01:00
Martin Sustrik
5a0674dfec OpenPGM error handling improved 2009-12-21 18:50:24 +01:00
Martin Sustrik
86d68cbcbd memory leaks related to OpenPGM errors fixed 2009-12-18 14:19:28 +01:00
Martin Sustrik
8aa0908635 all news converted to nothrow variant 2009-12-15 23:49:55 +01:00
Martin Sustrik
bd792faa9d ZMQ_SNDBUF and ZMQ_RCVBUF honoured in PGM transport 2009-12-14 11:46:30 +01:00
Martin Sustrik
c43aded531 debug code removed from PGM engines 2009-12-13 11:27:43 +01:00
Martin Sustrik
f4ac8d7a44 OpenPGM v1 support removed 2009-12-13 09:56:02 +01:00
Martin Sustrik
73b765e4b4 PGM transport fixed 2009-12-13 09:11:08 +01:00
malosek
9ccf2b42cf minor tweaks in pgm code 2009-11-30 16:45:18 +01:00
malosek
84585a9561 pgm_transport_recvmsgv in process_upstream returns PGM_IO_STATUS_RATE_LIMITED on busy sender 2009-11-04 18:59:19 +01:00
malosek
c2cd7977f7 update pgm_socket to recent openpgm2 2009-11-03 19:54:43 +01:00
malosek
08b02a43ae fixed get_sender_fds and get_receiver_fds for openpgm2 2009-11-03 14:11:53 +01:00
malosek
0ce02058eb updated 0MQ to recent OpenPGM2 rev.562 2009-10-12 22:51:41 +02:00
malosek
7afc61ae7c 0MQ compilable on winXP mingw with --with-pgm2 option 2009-10-06 12:57:24 +02:00
malosek
ac83175ef0 updated to recent PGM2 changes 2009-10-05 16:57:26 +02:00
malosek
e1b9fcd4b1 moved pgm_create_custom_gsi into PGM1 and drop ssl dependency 2009-10-05 10:18:24 +02:00
malosek
64e68e7486 detecting data loss for PGM2 receiver 2009-09-29 13:56:19 +02:00
malosek
39d915ded8 PGM2 sender 2009-09-28 18:06:06 +02:00
malosek
cf6cc0128f pgm2 receiver working (partly) 2009-09-25 17:50:12 +02:00
malosek
72c5c5fff4 --with-pgm2 compilable 2009-09-24 16:23:49 +02:00
malosek
33afdcd1ad added --with-pgm2 into build system 2009-09-24 12:43:35 +02:00
malosek
85cbd7f83c added PGM bus functionality 2009-09-22 15:12:51 +02:00
malosek
03d494d4f0 added udp:// transport prefix for PGM UDP encapsulation 2009-09-16 15:36:38 +02:00
malosek
969522bbf5 added OpenPGM receiver - ZMQ_SUB 2009-09-16 10:11:01 +02:00
malosek
1a4d6f9119 added OpenPGM sender - ZMQ_PUB 2009-09-11 17:58:37 +02:00