[zeromq-dev] CZMQ now available in Debian

2015-08-16 Thread Luca Boccassi
for the import freeze, scheduled for the 20th of August [2]. Many thanks to Alessandro Ghedini for agreeing to sponsor the upload, and to László Böszörményi who is currently maintaining libzmq packages! Kind regards, Luca Boccassi Brocade Communications Systems [1] https://packages.debian.org/source/sid/czmq

Re: [zeromq-dev] Setting privileges on a UNIX socket

2016-05-25 Thread Luca Boccassi
descriptor yourself from the systemd APIs, and then use the ZMQ_USE_FD zmq_setsockopt call to pass it down after creating a socket and before binding it. Note that this is available only on the master branches of libzmq and czmq, not in any released version yet. Kind regards, Luca Boccassi On Wed

Re: [zeromq-dev] Sporadic failures in unit tests

2016-05-30 Thread Luca Boccassi
a couple of tests are known to be a bit flacky on slower machines/environments unfortunately. Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] [RFC] systemd socket activation for libzmq

2016-05-31 Thread Luca Boccassi
h level CZMQ has ZSYS_AUTO_USE_FD env var or > > zsys_set_auto_use_fd(1) function to let zmq automatically match > > endpoints to the corresponding sockets managed by systemd. As long as > > the metadata matches (eg: file path for IPC, address + port for TCP), it > > will just

Re: [zeromq-dev] [RFC] systemd socket activation for libzmq

2016-05-31 Thread Luca Boccassi
On Tue, 2016-05-31 at 11:06 -0700, Jim Garlick wrote: > On Tue, May 31, 2016 at 05:47:24PM +0100, Luca Boccassi wrote: > > On Tue, 2016-05-31 at 08:52 -0700, Jim Garlick wrote: > > > On Mon, May 30, 2016 at 09:57:00PM +0200, Michal Vyskocil wrote: > > > > Hi, >

Re: [zeromq-dev] Meetup in Brussels, June 4th

2016-06-02 Thread Luca Boccassi
ating, > coffee, drinks, snacks. > > -Pieter Hi Pieter, Are we going to hack things during the day? Wondering whether to bring my laptop or not :-) -- Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part __

Re: [zeromq-dev] [RFC] systemd socket activation for libzmq

2016-05-30 Thread Luca Boccassi
ckets managed by systemd. As long as the metadata matches (eg: file path for IPC, address + port for TCP), it will just work out of the box. Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ z

Re: [zeromq-dev] [RFC] systemd socket activation for libzmq

2016-05-30 Thread Luca Boccassi
se do let me know if there are any issues or if you have ideas for improvements :-) Kind regards, Luca Boccassi > On Mon, 2016-05-30 at 21:14 +0200, Michal Vyskocil wrote: > > Hi, > > > > Ale's thread about Setting privileges on a UNIX socket inspired me > to > > cre

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-16 Thread Luca Boccassi
verified with abi-compliance-checker [1] that there was no ABI breakage with the respective stable versions. Kind regards, Luca Boccassi [1] https://github.com/lvc/abi-compliance-checker On Mon, 2016-05-09 at 13:36 +0200, Kevin Sapper wrote: > The deployment has a couple of constraints (

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-17 Thread Luca Boccassi
Sounds like a plan :-) On Fri, 2016-06-17 at 16:04 +0300, Doron Somech wrote: > Leave to someone else who use libzmq on widows and would like to > contribute? > On Jun 17, 2016 15:56, "Luca Boccassi" <luca.bocca...@gmail.com> wrote: > > > Thanks! > > >

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-17 Thread Luca Boccassi
t; > > > On Fri, Jun 17, 2016 at 1:58 PM, Pieter Hintjens <p...@imatix.com> wrote: > > > Luca, what's your Wikidot login? I'll give you edit rights to that > > page/site. > > > > > > On Fri, Jun 17, 2016 at 1:54 PM, Luca Boccassi <luca.bocca...@gmai

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-16 Thread Luca Boccassi
. On Thu, 2016-06-16 at 18:55 +0200, Pieter Hintjens wrote: > Sounds good. Shall we make these pilots for the new release process? > > On Thu, Jun 16, 2016 at 1:10 PM, Luca Boccassi <luca.bocca...@gmail.com> > wrote: > > Hi, > > > > During the Brussels meetup/

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-17 Thread Luca Boccassi
atix.com> wrote: > > Luca, what's your Wikidot login? I'll give you edit rights to that > > page/site. > > > > On Fri, Jun 17, 2016 at 1:54 PM, Luca Boccassi <luca.bocca...@gmail.com> > > wrote: > >> The messages to the announce list have been s

Re: [zeromq-dev] [zeromq-announce] ZeroMQ 4.0.8 stable is now available

2016-06-17 Thread Luca Boccassi
On Fri, 2016-06-17 at 16:36 +0200, Peter Kleiweg wrote: > Luca Boccassi schreef op de 17e dag van de zomermaand van het jaar 2016: > > > Hello, > > > > We just uploaded a new release on the 4.0.x branch. > > > > As a reminder, we are now publis

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-17 Thread Luca Boccassi
ated files and I'm trying to run the job again. On Thu, 2016-06-16 at 21:56 +0200, Kevin Sapper wrote: > If you run into any trouble with the automatic travis release feel free to > ping me via twitter or mail. > Am 16.06.2016 9:31 nachm. schrieb "Luca Boccassi" <luca.bocca...@g

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-17 Thread Luca Boccassi
Second try went better :-) And on the 4.1 branch it was all right the first time around. So it was probably just a CI hiccup. I'll send two separate messages to the announce list. On Fri, 2016-06-17 at 12:28 +0100, Luca Boccassi wrote: > Something has short-circuited on Travis, and wh

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-06-17 Thread Luca Boccassi
The messages to the announce list have been sent, and are awaiting moderator approval. Pieter, Doron, how do we update the get-the-software page? http://zeromq.org/intro:get-the-software On Fri, 2016-06-17 at 12:47 +0100, Luca Boccassi wrote: > Second try went better :-) And on the 4.1 bra

Re: [zeromq-dev] Defaulting to tweetnacl?

2016-02-11 Thread Luca Boccassi
Hi, I'm looking at it. Kind regards, Luca Boccassi On 11 February 2016 at 17:30, Pieter Hintjens <p...@imatix.com> wrote: > BTW I've also broken Travis builds, as --with-tweetnacl is no longer valid. > > The correct model should be: > > - default build (uses tweetnacl

Re: [zeromq-dev] Access to underlying Linux socket?

2016-02-11 Thread Luca Boccassi
On 11 February 2016 at 09:32, Mark Gillott <mgill...@brocade.com> wrote: > On Wed, 2016-02-10 at 23:33 +0000, Luca Boccassi wrote: >> On Feb 10, 2016 20:39, "Mark Gillott" <mgill...@brocade.com> wrote: >> > >> > On Wed, 2016-02-10 at 20:45

Re: [zeromq-dev] FYI: GCC 6 package breaks in Fedora

2016-02-22 Thread Luca Boccassi
s: https://github.com/zeromq/zeromq4-x/pull/149 https://github.com/zeromq/zeromq4-1/pull/101 Kind regards, Luca Boccassi ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] State of libzmq versioning

2016-02-18 Thread Luca Boccassi
based on it. Haven't delved deeper into it, does anyone have a better insight in how zmq_msg_t is handled internally? Kind regards, Luca Boccassi On 18 February 2016 at 09:12, Pieter Hintjens <p...@imatix.com> wrote: > libzmq versioning is unchanged for years. There's a 4.1 stable fork

Re: [zeromq-dev] State of libzmq versioning

2016-02-18 Thread Luca Boccassi
comment that having a pointer will force the compiler to make different (and stricter) choices regarding alignment. Kind regards, Luca Boccassi On 18 February 2016 at 13:40, Doron Somech <somdo...@gmail.com> wrote: > So this doesn't change the size of the zmq_msg_t (at it is a union), so >

Re: [zeromq-dev] Latest libzmq tests fail

2016-02-19 Thread Luca Boccassi
difference between a FAIL and a XFAIL? XFAIL in autoconf/automake is an expected failure (it's marked as such in the Makefile.am). It will not make the whole "make check" fail. The other test works fine on my machine and on Travis at the moment so I wouldn't worry about it, might be an intermitta

Re: [zeromq-dev] Access to underlying Linux socket?

2016-02-11 Thread Luca Boccassi
ternal build of the Linux kernel, with additional options that are not merged upstream yet. We could simply maintain an internal patch, but we are thinking that if we can find a nice, general solution that could be useful for everyone, it would be better :-) Kind regards, L

Re: [zeromq-dev] Access to underlying Linux socket?

2016-02-10 Thread Luca Boccassi
to discriminate somehow, as what you can do with the FD varies wildly. It could be left to the application developer to be careful, but I think that's confusing and likely to cause troubles. Kind regards, Luca Boccassi ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Defaulting to tweetnacl?

2016-02-10 Thread Luca Boccassi
blem. Bear in mind that distributions like Debian will most likely use libsodium, because even though it is allowed, it is strongly discouraged to ship statically linked binaries, and it makes the mainteiners life harder. See: https://wiki.debian.org/StaticLinking Kind regards, Luca Boccassi _

Re: [zeromq-dev] Defaulting to tweetnacl?

2016-03-01 Thread Luca Boccassi
s for this clarification. So does everybody agree on the following: > > - Use the included tweetnacl for build/compile convenience > - Use libsodium for clean distribution type of builds > - Technically, both variants are roughly equivalent in terms of > performance, stabil

Re: [zeromq-dev] Newbie questions re HWM and Async/Sync io

2016-03-21 Thread Luca Boccassi
xample it will use epoll, on Windows it will use select and so on. So there's no busy looping, so don't worry about performances. Sorry but I'm not sure about the HWM issue, hopefully someone else can give their 2c on that. Kind regards, Luca Boccassi ___

Re: [zeromq-dev] LIBZMQ license

2016-03-04 Thread Luca Boccassi
has taken place? > > > My company is starting to dot the i's and this poped up. Hi, As far as I understand, I think it's LGPL3 (linking exception at the bottom): https://github.com/zeromq/libzmq/blob/master/COPYING.LESSER Kind regards, Luca Boccassi signature.asc Description: This is a di

Re: [zeromq-dev] Defaulting to tweetnacl?

2016-03-01 Thread Luca Boccassi
plain to me that this is allowed, since the original work is in the public domain, so changing and re licensing can be done. Given this, I don't believe packaging for distributions will be a problem. Mainteiners can choose to either DFSG the source tree and take out the tweetnacl modules and use li

Re: [zeromq-dev] CZMQ "stable" release versioning

2016-04-24 Thread Luca Boccassi
age. A while ago we also talked about the possibility of retiring the deprecated APIs. Is that still on the plate? Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Building CZMQ with disable-drafts

2016-04-22 Thread Luca Boccassi
With CMake: cmake -DENABLE_DRAFTS=OFF Kind regards, Luca Boccassi ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Meetup in Brussels, June 4th

2016-05-19 Thread Luca Boccassi
ating, > coffee, drinks, snacks. > > -Pieter Just booked the train! What's your favourite scotch whisky? :-) Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ zeromq-dev mailing list zeromq-d

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-05-09 Thread Luca Boccassi
vis. > > [1] https://github.com/zeromq/libzmq/releases/tag/v4.0.2-test > > 2016-05-04 11:34 GMT+02:00 Luca Boccassi <luca.bocca...@gmail.com>: > > > On Wed, 2016-05-04 at 05:46 +0200, Michal Vyskocil wrote: > > > Hi, > > > > > > Just for a curio

Re: [zeromq-dev] ABI reports for ZeroMQ

2016-05-11 Thread Luca Boccassi
nly in the applications, it shouldn't make a difference. I'm still not convinced it will be fine on architectures other than x86, but unfortunately I don't have a SPARC handy to test it :-) Kind regards, Luca Boccassi signature.asc Descriptio

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-05-10 Thread Luca Boccassi
On Tue, 2016-05-10 at 13:05 +0200, Kevin Sapper wrote: > I just pushed changes to zproject and czmq to enable > automatic travis github releases as well. There is a > czmq test release that shows that it's working: > > https://github.com/zeromq/czmq/releases/tag/v3.0.3-testing Awesome, thanks!

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-05-03 Thread Luca Boccassi
e :-) ) would have to take the shipped tarball and sanitize it, nuking all extraneous bits. This should not be necessary! That's exactly the reason "make dist" exists. > On Tue, May 3, 2016 at 6:24 PM, Pieter Hintjens <p...@imatix.com> wrote: > > On Tue, May 3, 2016 at 2:12

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-05-03 Thread Luca Boccassi
possible to do the github release thing with the result of "make dist"? I think I've read somewhere that you can use the result of CI builds. If that's the case, we can still use the make dist release tarballs IMHO. Kind regards, Luca Boccassi signature.asc Description: This is a digital

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-05-03 Thread Luca Boccassi
On Tue, 2016-05-03 at 13:26 +0200, Kevin Sapper wrote: > I'm currently experimenting with travis automated github releases and > finally gotten to the point where things add up. > > I could try to set this up for libzmq but I need to know how to build the > release tarballs, checksums, changelog,

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-05-04 Thread Luca Boccassi
necessary! That's exactly the > reason "make dist" exists. > > > On Tue, May 3, 2016 at 6:24 PM, Pieter Hintjens <p...@imatix.com> wrote: > > > On Tue, May 3, 2016 at 2:12 PM, Luca Boccassi <luca.bocca...@gmail.com> > wrote: > > > > > &g

Re: [zeromq-dev] Moving list to Google groups?

2016-04-15 Thread Luca Boccassi
g Google groups, but it does have a > conventional email interface, you do not have to create a google account to > use the email, and it supports imports. Given it can be used with emails and the archive can be imported, +1 for Google Groups fr

Re: [zeromq-dev] Role of iMatix in ZeroMQ community

2016-04-19 Thread Luca Boccassi
e. This means we need to remove my firm as a > dependency. This is most horrible news, I am so sorry Pieter. > Suggestions for a safe long term home for the domain names, if you would. > > Pieter Personally I also like the Linux Foundation idea. I'm happy to help in any way I

Re: [zeromq-dev] Resource temporarily unavailable") at src/err.cpp:83

2016-08-12 Thread Luca Boccassi
Or raise the number of file descriptors in the system. Note that the setting is per-user, and you might have to raise the hard limit. You can google for more details as it depends on your system and distribution: ulimit -n sysctl fs.file-max On 12 August 2016 at 18:31, Marcin Romaszewicz

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-08-13 Thread Luca Boccassi
r, given what we choose to do might result in a lot of work for him :-) Opinions? Kind regards, Luca Boccassi On Tue, 2016-05-03 at 10:39 +0200, Pieter Hintjens wrote: > Hi all, > > I'm just throwing some ideas on the table. We have a good package of > work on master and it's pr

Re: [zeromq-dev] Erlang implementation of ZMTP 3.1

2016-08-13 Thread Luca Boccassi
Hi, It means that the upstream repository would become github.com/zeromq/erlangzmq together with all the other implementations, and of course you'll become a member of the org and have full admin rights on that repository On Aug 13, 2016 18:59, "Andriy Drozdyuk" wrote: > Hi,

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-01-31 Thread Luca Boccassi
ng HWM works also after connecting/binding, is > that what you are doing? > > There were many other bug fixes that can be seen in the git log, can't > remember all of them off the top of my head > > Also what transport mode are you using? > > Kind regards, > Luca Boccassi

Re: [zeromq-dev] One socket per thread or per call?

2017-01-31 Thread Luca Boccassi
json-decode/encode, in both cases) > > Is there a more correct ZeroMQ-way of doing this? > > best regards, > -- > Patrick. Closing and reopening sockets continuosly is an anti-pattern, I would recommend opening a socket when the thread starts and closing it when it's torn down Kin

Re: [zeromq-dev] Glar on onioncat in TAP mode

2017-02-07 Thread Luca Boccassi
> > Best, This is quite cool! The IPv6 over link-local addresses has a few issues yes (see Zyre ticket), I'll try to fix it the next weekend. With global addresses it should work though. Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part __

Re: [zeromq-dev] Big thank you for the Hackaton and the rest

2017-02-06 Thread Luca Boccassi
make a proper github > release, and transform the tool in a more generic cluster management > (ala clusterssh). Or if you have other ideas. > > Thanks again, Thank you for organising both! It was great seeing you all again (or for the first time). Kind regards, Luca Boc

Re: [zeromq-dev] ZeroMQ Pre-Fosdem Hackaton (Thu 2 + Fri 3 Feb 2017) at HSBXL

2017-01-31 Thread Luca Boccassi
he heating and everything else, and then we could go for a beer! Is anyone already there tomorrow evening that wants to join us? Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] zyre + zbeacon + ipv6

2017-01-30 Thread Luca Boccassi
Raspberry PI 2 and a Fedora Raspberry PI 3. It would be great if someone on OSX could give it a run as well! Also there is a TODO for Windows in ziflist before it can work there too, again help needed. Please let me know what you think and if this can be useful! Kind regards, Luca Boccassi

Re: [zeromq-dev] pyzmq and curve, as server

2017-01-26 Thread Luca Boccassi
_CURVE_SERVER option is used to decide if a peer will be client or server (by instantiating the corresponding curve class). Does anyone know what was the intention there? -- Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part

Re: [zeromq-dev] Updated Infiniband Benchmarks with ZMQ 2.0.6

2017-02-22 Thread Luca Boccassi
ults:perf-howto;? > Thanks. > Best Regards, > Shan Hi, I'm not aware of any. But if you would like to contribute some please send us a PR on Github and we'll merge it. Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-02-19 Thread Luca Boccassi
the repo with a half-working implementation, even if it's draft. I'll have time to look at this shortly, so perhaps next week or the one after. > On Sat, Feb 18, 2017 at 7:15 PM, Luca Boccassi > <luca.bocca...@gmail.com> > wrote: > > > On Fri, 2017-02-17 at 13:26 +,

Re: [zeromq-dev] router socket hangs on write (was detecting dead MDP workers)

2017-02-18 Thread Luca Boccassi
On Fri, 2017-02-17 at 10:53 +0100, Gyorgy Szekely wrote: > Hi, > Sorry for spamming the list :( I will rate limit myself. > > I reviewed the docs for ZMQ_ROUTER_MANDATORY and it's clear now that > the > router socket may block if the message can be routed but HWM is > reached and > ZMQ_DONTWAIT

Re: [zeromq-dev] Recommended reading for writing a binding

2017-02-18 Thread Luca Boccassi
t > On 18 February 2017 at 19:20, Luca Boccassi <luca.bocca...@gmail.com> > wrote: > > On Fri, 2017-02-17 at 17:04 +0100, Lars Wikman wrote: > > > Hi > > > > > > I was looking at Elixir bindings for ZeroMQ and found one or two > > > that

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-02-18 Thread Luca Boccassi
On Fri, 2017-02-17 at 13:26 +, Luca Boccassi wrote: > On Fri, 2017-02-17 at 10:32 +, simon.giese...@btc-ag.com wrote: > > Hi, > > > > is it possible to do publish the bugfix release 4.2.2 now? We need > > one quite urgently now. > > > > Thanks a lo

Re: [zeromq-dev] Recommended reading for writing a binding

2017-02-18 Thread Luca Boccassi
omq.org/spec:23/ZMTP/ and others on the same website. Also libzmtp could be a good reference since it's a minimal C reference implementation (not complete, lacks CURVE for example): https://github.com/zeromq/libzmtp Kind regards, Luca Boccassi signature.asc Descrip

Re: [zeromq-dev] Updating zguide

2017-02-14 Thread Luca Boccassi
>>> Am 04.01.2017 08:11 schrieb "Doron Somech" <somdo...@gmail.com>: >>> >>>> I'm not the admin of those websites, both zguide and czmq. So we might >>>> need to create new ones. >>>> Because it is all generated it not much loss

Re: [zeromq-dev] need advice! hitting assertion in epoll.cpp:131 (zmq 4.2.1) when going from RHEL6 to RHEL7?!

2017-02-16 Thread Luca Boccassi
gt; $TOP/lib/platform/libzmq.so.5 > #13 0xf6fe36f2 in thread_routine () from $TOP/lib/platform/libzmq.so.5 > #14 0xf7574b2c in start_thread () from /lib/libpthread.so.0 > #15 0xf746308e in clone () from /lib/libc.so.6 Are you building your own binaries in both cases? What polling mechanism was R

Re: [zeromq-dev] need advice! hitting assertion in epoll.cpp:131 (zmq 4.2.1) when going from RHEL6 to RHEL7?!

2017-02-16 Thread Luca Boccassi
ot; > > from config.log: > > Using 'epoll' polling system with CLOEXEC What's the file limit on the 2 systems? (With the user that runs the program) ulimit -n Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part _

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-02-17 Thread Luca Boccassi
a changelog and push it over the weekend. Kind regards, Luca Boccassi > -Ursprüngliche Nachricht----- > Von: Luca Boccassi [mailto:luca.bocca...@gmail.com] > Gesendet: Dienstag, 31. Januar 2017 12:41 > An: Giesecke, Simon > Cc: zeromq-dev@lists.zeromq.org > Betreff: Re: AW

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-01-16 Thread Luca Boccassi
ecting/binding, is that what you are doing? There were many other bug fixes that can be seen in the git log, can't remember all of them off the top of my head Also what transport mode are you using? Kind regards, Luca Boccassi signature.asc Descriptio

Re: [zeromq-dev] CZMQ: zloop_poller terminates the function handler

2017-01-17 Thread Luca Boccassi
On Tue, 2017-01-17 at 00:42 +0100, Shrikanth M.D. wrote: > Hello All, > > I have a zloop_poller invoked as below: > zloop_poller (loop, , s_netconf_socket_event,inter_thread_pair); > > > I see that while executing the function handles, s_netconf_socket_event, my > program terminates. > I have

Re: [zeromq-dev] Chumak 1.2.0 released (Erlang + Curve)

2017-02-26 Thread Luca Boccassi
the best! Hello Andriy, Great news! I believe Chumak is the first Erlang implementation to support Curve. Nice! Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ zeromq-dev mailing list zeromq-dev@lists.zero

Re: [zeromq-dev] pollset in AIX

2016-09-12 Thread Luca Boccassi
You can already choose to use it, build with "--with-poller=poll" as a configure option On 12 September 2016 at 15:20, 王运来 wrote: > I have found pollset is not used in AIX 7.1 platform and I test the ZMQ with > pollset poller. The exciting is that my program can benifit from

Re: [zeromq-dev] Question about zero-copying, local and remote clients

2016-09-13 Thread Luca Boccassi
If you ask for TCP, you are going to get TCP. But you can however bind the same socket to multiple endpoints, one IPC, one TCP, etc. Note that "true" zero copy happens with ZMQ_PAIR sockets over inproc:// transport. IPC uses unix file sockets, so there is at least a write syscall and thus a

Re: [zeromq-dev] pollset in AIX

2016-09-13 Thread Luca Boccassi
have a suggestion pushing the code with pollset poller to ZMQ. > It can make ZMQ become more attractive. > > > At 2016-09-12 23:22:55, "Luca Boccassi" <luca.bocca...@gmail.com> wrote: > >You can already choose to use it, build with "--with-poller=poll" as a &

Re: [zeromq-dev] RPC in ZeroMQ

2016-09-24 Thread Luca Boccassi
about zproto? Is it official by ZeroMQ? > I would prefer Thrift with ZeroMQ since our system already uses Thrift and > we are happy with the performance. We just want to extend it and support > pub-sub (that's why we looked at ZeroMQ ). > > Thanks, > Dimos > > > On Sep 24, 201

Re: [zeromq-dev] RPC in ZeroMQ

2016-09-24 Thread Luca Boccassi
Look at zproto - it can do that and much, much more https://github.com/zeromq/zproto On 24 September 2016 at 08:31, Dimos Stamatakis wrote: > Thanks for your response. I saw zerorpc, but it seems like it does not > support C++. For now I am looking at combining Thrift with

Re: [zeromq-dev] Question about context and/or socket creation

2016-09-30 Thread Luca Boccassi
You can (and probably should as best practise) reuse the context, which is thread safe. Do not use the same socket from multiple threads. There is a new category of thread-safe sockets in libzmq master but the API is not yet finalised. On 30 September 2016 at 10:50, James Chapman

Re: [zeromq-dev] Using CurveZMQ to secure multiple sockets?

2016-10-05 Thread Luca Boccassi
zauth and zcert can work with any socket and are the correct choice. Curvezmq was a proof of concept (and made to bring auth for the legacy libraries) and should not be used with libzmq/czmq as there's built in support. On 5 October 2016 at 09:27, Mark Gillott wrote: >

Re: [zeromq-dev] Using CurveZMQ to secure multiple sockets?

2016-10-05 Thread Luca Boccassi
On 5 October 2016 at 16:15, Mark Gillott <mgill...@brocade.com> wrote: > On Wed, 2016-10-05 at 14:56 +0100, Luca Boccassi wrote: >> zauth and zcert can work with any socket and are the correct choice. >> Curvezmq was a proof of concept (and made to bring auth for th

Re: [zeromq-dev] Simple PUB / SUB test does not work

2016-09-23 Thread Luca Boccassi
with 127.0.0.1 on bind and connect functions, it didn't worked. >> >> I also tried on Linux (Ubuntu 16.04), same result. >> >> Very strange ! >> >> On Thu, Sep 22, 2016 at 7:12 PM, Luca Boccassi <luca.bocca...@gmail.com> >> wrote: >>> >>

Re: [zeromq-dev] Simple PUB / SUB test does not work

2016-09-22 Thread Luca Boccassi
Windows has some weirdness on the localhost I think, try to avoid the wildcard and bind and connect to 127.0.0.1 On 22 September 2016 at 17:57, Aurélien wrote: > Thank you for your replies. > > I tried with that : > > zmq::socket_t subscriber(context, ZMQ_SUB); >

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-08-26 Thread Luca Boccassi
, Luca Boccassi wrote: > Hello, > > Trying to give some thoughts again on the libzmq 4.2 release. It's > really long overdue! > > The main issue from my point of view is this change: > > https://github.com/zeromq/libzmq/commit/d9fb1d36ff2008966af538f722a1f4ab158dbf64 >

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-08-29 Thread Luca Boccassi
ere > bumping the message size fits. > > Nonetheless, I think bumping the size, fixing the alignment issues, > and bumping the ABI version is the best solution here. > > On Fri, Aug 26, 2016 at 12:33 PM, Luca Boccassi <luca.bocca...@gmail.com> > wrote: > > I've

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-10-01 Thread Luca Boccassi
zmq.h. Did I miss any? > Sorry for disappearing, baby and full time job is a lot :-), hopefully > I'm back... No worries, perfectly understandable :-) > On Mon, Aug 29, 2016 at 6:46 PM, Luca Boccassi <luca.bocca...@gmail.com> > wrote: > > Sorry, I meant if we go with (1), n

[zeromq-dev] CZMQ old v2 API proposal: deprecated -> retired

2016-10-28 Thread Luca Boccassi
and then put them back on. This way we bump to major version 4.0.0 and break ABI all in one fell swoop, and minimise disruption. Comments, objections? Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ zeromq

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-10-28 Thread Luca Boccassi
> > > A new stable version would definitely help me in my quest to get ZeroMQ > > support enabled by default in rsyslog in distros. > > > > On Sun, Oct 16, 2016 at 2:40 PM Doron Somech <somdo...@gmail.com> wrote: > > > >> I say lets bump

Re: [zeromq-dev] zmq prebuilt for node

2016-10-29 Thread Luca Boccassi
On 29 October 2016 at 16:01, Kyle Kelley wrote: >> What happens if you do an npm install on debian armv7? Will it try to >> build it? > > It should build it. We would create prebuilds for other architectures if we > have access to them in CI. There was a request for 32-bit Linux

Re: [zeromq-dev] zmq prebuilt for node

2016-10-29 Thread Luca Boccassi
set up AppVeyor, Codecov, and Travis on the repo? It > will likely be Lukas Geiger or myself setting that up/administrating it to > get us started. > > GitHub users: > > * captainsafia > * lgeiger > * minrk > * rgbkrk > > > > > > On Fri, Oct 28, 2016 a

Re: [zeromq-dev] zmq prebuilt for node

2016-10-29 Thread Luca Boccassi
, Luca Boccassi <luca.bocca...@gmail.com> wrote: > Ah as Doron said, Github has a native "transfer ownership" > functionality. I was thinking of forking, but this way all the history > and existing issues and PR gets transferred too, which is nice! So I > like more Dor

Re: [zeromq-dev] Recommended libsodium version for ZeroMQ

2016-10-30 Thread Luca Boccassi
Latest stable release of sodium will work fine with both, at Kevin says we have CI for it. Other than CZMQ bindings, pyzmq also supports 4.2 just fine On Oct 30, 2016 11:03, "Ahmad Zawawi" wrote: > Hi Kevin, > > Thanks for your reply. I am working on

Re: [zeromq-dev] No documentation for sockets options ZMQ_SOCKS_PROXY and ZMQ_BLOCKY

2016-11-07 Thread Luca Boccassi
n compiling the release notes, sorry about that. I've fixed it now. I've also opened an issue for the lack of documentation of ZMQ_SOCKS_PROXY. Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part

Re: [zeromq-dev] No manpage for zmq_curve_public

2016-11-07 Thread Luca Boccassi
tion uses, as everything else crypto-related, libsodium or tweetnacl depending on the configure flags. Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part ___ zeromq-dev mailing list zeromq-dev@lists.zeromq

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-11-08 Thread Luca Boccassi
t of work. > > drafts sound even better than forks. > > Btw I love first changelog entry > > Michal > > Dne 5. 11. 2016 10:02 napsal uživatel "Luca Boccassi" < > luca.bocca...@gmail.com>: > > > Hi, > > > > I will update the website

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-11-10 Thread Luca Boccassi
Final status update (hopefully!), CZMQ 4.0.1 is now out: https://github.com/zeromq/czmq/releases/tag/v4.0.1 Apologies for the troubles with the draft system, it should be now all right. On Tue, 2016-11-08 at 17:33 +, Luca Boccassi wrote: > Further status update: > > I

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-11-05 Thread Luca Boccassi
-11-04 at 13:35 +, Luca Boccassi wrote: > Status update: > > CZMQ release notes PR is open: > > https://github.com/zeromq/czmq/pull/1542 > > I will be travelling now until the evening (might have some time at > airport), so if you have anything to add please merge and

Re: [zeromq-dev] ZeroMQ 4.2 release, planning

2016-11-05 Thread Luca Boccassi
) > > > > libzmq 4.2.0 has been already uploaded to Debian (Thanks László for the > > very quick upload!), now I hope I can get CZMQ 4.0.0 up too by tomorrow. > > > > On Fri, 2016-11-04 at 13:35 +, Luca Boccassi wrote: > >> Status update: > >> > &g

Re: [zeromq-dev] ZeroMQ 4.1.5 runtime crash on iOS 10 SDK

2016-10-25 Thread Luca Boccassi
Hi, I think the build system it's already doing the right thing, which is to check if running on an apple system and if so, if the syscall is available or not and define it if needed. You said you built for IOS 10 and ran on IOS 9: if I understand correctly and the syscalls support is different

Re: [zeromq-dev] Zmq 4.2.0 aligned memory

2016-11-14 Thread Luca Boccassi
On Mon, 2016-11-14 at 16:48 +0100, Emmanuel Taurel wrote: > Hello all, > > We are using zeromq since years now without troubles. We have recently > tried our software using Zmq 4.2.0 (on linux hosts). > For our application, we are using multipart messages with 4 parts in > publish/subscribe mode.

Re: [zeromq-dev] What is the canonical handling of zeromq sockets when fork+exec?

2016-11-26 Thread Luca Boccassi
On Fri, 2016-11-25 at 12:22 +0100, zmqdev wrote: > On 25.11.2016 11:50, Luca Boccassi wrote: > > What I can say is that we have a unit test for this situation: > > > > https://github.com/zeromq/libzmq/blob/master/tests/test_fork.cpp > > > > And the child closes t

Re: [zeromq-dev] Call for maintainers [JeroMQ, JZMQ]

2016-11-26 Thread Luca Boccassi
Hi Colin, Being a ZeroMQ maintainer is easy and fun and I definitely recommend it :-) The actual maintainer role is well codified in the C4 process that Trevor mentioned and it's very simple in the end. And if you have used the library for a long time I'm sure you'll do a great job developing

Re: [zeromq-dev] SEHException 0x80004005 from ZeroMQ/libzmq

2016-11-24 Thread Luca Boccassi
; > } > } > } > catch (Exception ex) > { > if (!(ex is ThreadAbortException)) > { > _logger.FatalException(string.Format

Re: [zeromq-dev] What is the canonical handling of zeromq sockets when fork+exec?

2016-11-25 Thread Luca Boccassi
e (TCP) socket explicitly before the context. Which is in fact what should happen in all cases. The parent then can receive messages on the sockets just fine. Maybe it's a linger issue? By default a socket has 30s of linger grace period. Try setting ZMQ_LINGER t

Re: [zeromq-dev] On hooking memory allocations

2016-11-28 Thread Luca Boccassi
That would work for an internal API, but given we expose a C API unfortunately I don't think that would work as a public API :-( And I think for this use case they would require a public API. As an external API, a new zmq_ctx_set that takes a callback would have been ideal, but it only takes int.

Re: [zeromq-dev] No UDP broadcast message received using CZMQ zbeacon on RaspberryPi3

2016-11-28 Thread Luca Boccassi
Hi, There is a CZMQ 4.0.x series now, loads of changes have gone in since 3.0.2. I would recommend trying it as the first thing. https://github.com/zeromq/czmq/releases On Mon, 2016-11-28 at 12:42 -0200, Rodrigo Madruga wrote: > Hello all, > > I am developing a system that uses CZMQ's zbeacon

Re: [zeromq-dev] On hooking memory allocations

2016-11-28 Thread Luca Boccassi
Hello, First of all, welcome to the community! Sounds like you have a very interesting use case :-) So there is precedent for using some sort of a custom allocator, although it does not go as far as your requirements: https://github.com/zeromq/czmq/blob/master/include/czmq_prelude.h#L528 So no

Re: [zeromq-dev] Zmq 4.2.0 aligned memory

2016-11-17 Thread Luca Boccassi
Hi, I agree, I am not aware of any promise in the documentation about alignment of receive buffers (happy to be disproved of course). Proof of this is the fact that there was no explicit alignment set, and it was left to chance. IMHO any application that relied on this internal undocumented side

  1   2   3   4   5   >