[zeromq-dev] Trouble with ROUTER/DEALER code and curve security

Pieter Hintjens ph at imatix.com
Wed Aug 6 21:17:39 CEST 2014

There's nothing special needed. Can you make a minimal test case that
reproduces the problem?

On Wed, Aug 6, 2014 at 5:32 PM, Jonas Thiem <jonasthiem at googlemail.com> wrote:
> Hi zmq mailing list,
> What I tried:
> I have some pyzmq code with a ROUTER/DEALER. The dealer connects and
> sends a message, the router does recv() to get the client identity
> string -> works fine.
> Now if I try that with curve security enabled, the very first recv()
> on the server blocks forever, although the client sends something like
> before. (The client happily connects and attempts to send without an
> error)
> However, if I replace ROUTER/DEALER with REP/REQ in that broken curve
> code, it works again perfectly fine with the server's first recv()
> getting the message - and curve security enabled.
> My question:
> Are there some obvious things a ROUTER/DEALER pattern code would need
> to have modified to work for a curve setup, which in turn works fine
> for REP/REQ?
> Regards,
> Jonas Thiem
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list