Rainer Gerhards
1837a3d54a
imczmq: remove never-reached code
...
This code was not required (handled by framework) and also never
reached.
Detected by Coverty Scan - CID 18543.
2017-10-27 13:19:51 +02:00
Rainer Gerhards
2fdb11657a
imczmq: fix potential memory leak
...
detected by clang static analyzer
2017-10-23 14:42:57 +02:00
Rainer Gerhards
6ef6ed8039
imczmq: fix additional compiler warnings
2017-10-23 14:19:51 +02:00
Rainer Gerhards
f39e6d33d8
0mq modules: fix compiler warnings
2017-10-23 12:13:45 +02:00
Luca Boccassi
75d5e6ff9e
imczmq: if topic is empty subscribe to everything
...
ZMQ_SUB supports subscribing to every topic, and it's indicated by an
empty string being passed as a topic.
Fix the config parsing to correctly interpret an empty string passed as
a parameter.
This fixes a regression introduced in 8.19 by commit:
299f5a637f97d2ec064ad3df20fa845ef4b7c7e5
2017-03-09 20:17:46 +00:00
Luca Boccassi
8ec2edc638
imczmq: do not set SUB/DISH sockets as serverish
...
By default it makes sense for ZMQ_SUB and ZMQ_DISH sockets to
connect, as that's the most common use case, unless specified by the
endpoint syntax.
Regression introduced in 8.19 by commit 299f5a637f97d2ec064ad3df20fa8
2017-03-09 20:13:15 +00:00
purnima
d45daa2af0
Rebase,redefine msgDestruct() as smsg_t is used
2016-11-22 14:24:25 +05:30
Brian Knox
e6c6ed1169
zeromq: code cleanup
2016-05-15 10:06:36 -04:00
Brian Knox
0fc63924ef
imczmq: curve client support for input
2016-05-13 14:09:12 -04:00
Brian Knox
a1fe59abd8
imczmq: code cleanup
2016-05-13 13:52:42 -04:00
Brian Knox
bedbbebc23
zeromq: allow imczmq to work with bad options
2016-05-13 13:38:47 -04:00
Brian Knox
5ed8623e67
zeromq: style consistency cleanup
2016-05-13 07:06:42 -04:00
Brian Knox
7f6da6456a
zeromq: support no auth and multi frame
2016-05-13 06:49:31 -04:00
Brian Knox
299f5a637f
czmq: updates for imczmq and omczmq plugins
2016-05-12 14:05:05 -04:00
Jeremy Qian
b14b930825
fix memory leak
...
Signed-off-by: Jeremy Qian <vanpire110@163.com>
2015-12-07 17:06:24 +08:00
Brian Knox
5fcc4e4842
omczmq/imcmzq: allow ephemeral client certs
2015-11-22 18:22:33 -05:00
Brian Knox
698ce02d65
imczmq: free sockets when finished
2015-11-14 10:45:21 -05:00
Brian Knox
9cedc2b6a1
imczmq: ROUTER support and code cleanup
2015-11-12 11:08:42 -05:00
Brian Knox
7bfc6f9408
imczmq - code cleanup
2015-11-12 08:32:07 -05:00
taotetek
6473c8c4d6
Merge pull request #515 from bluca/imczmq-sigabort-free
...
imczmq: fix abort on free
2015-09-14 18:58:32 -04:00
taotetek
35de85bac2
Merge pull request #512 from bluca/null-pointer-deref
...
Fix NULL pointer dereference in imczmq and omczmq
2015-09-14 09:39:53 -04:00
Luca Boccassi
7162043154
imczmq: fix abort on free
...
The topicList pointer was modified and overwritten, so at free time
there was a sigabort due to invalid pointer:
Error in `rsyslogd': free(): invalid pointer: 0x00000000021cde24
2015-09-14 14:25:27 +01:00
Luca Boccassi
b6540355d1
imczmq: connect instead of binding if client/sub
2015-09-08 01:21:14 +01:00
Luca Boccassi
dd986522e4
Fix NULL pointer dereference in imczmq and omczmq
2015-09-07 01:59:16 +01:00
Brian Knox
f96e2b77c4
fix incorrect conditional in zmq beacon code
2015-05-18 09:38:10 -04:00
Brian Knox
97ebaa4d7c
imczmq beacon addition and cleanup to omczmq beacon
2015-04-26 09:10:29 -04:00
Brian Knox
08c417dc84
zeromq - fix README for input plugin
2015-04-10 09:34:16 -04:00
Brian Knox
1b2ee5138a
omczmq / imczmq fixes
2015-04-07 08:23:44 -04:00
Brian Knox
47281a24fa
im/omczmq README updates
2014-12-01 07:30:13 -05:00
Brian Knox
9a533e7ecb
zeromq - DEALER / ROUTER support + support for non curve connections
2014-11-29 15:04:51 -05:00
Rainer Gerhards
8232cd3d83
fix copy&paste "typos"
2014-11-28 10:03:24 +01:00
Rainer Gerhards
ffe378cd78
move new zmq plugins to contrib directory
2014-11-28 10:01:21 +01:00