[zeromq-dev] czmq

Pieter Hintjens ph at imatix.com
Tue Oct 14 23:31:43 CEST 2014


On Tue, Oct 14, 2014 at 6:54 PM, Andrew Hume <andrew at research.att.com> wrote:

> (its a pain to switch versions; it was the
> change in zstr_send that caused me the most annoyance,
> please don’t do that again — much better to have named
> the new zstr_send something like zstr_sends (for send string)
> than to reuse the name.)

Ah, this was unfortunate, though we did discuss it (I assume on the
CZMQ issue tracker). The zstr_send method and some others accepted a
format string, without any indication in the name. This was a security
risk and we felt it was better to close that hole and keep the API
clean rather than leave the dangerous method there and find another
name.

Some similar changes in zmsg_pushstr -> zmsg_pushstrf.

I apologize, the original poor design was my fault and we should have
caught it before 2.0.0.

My advice would be to use libzmq 4.0.5 and the current CZMQ master,
which will be 3.0.0. It should support the CZMQ 2.x API correctly.

-Pieter



More information about the zeromq-dev mailing list