On Fri, Jun 1, 2012 at 12:33 PM, Pieter Hintjens <[email protected]> wrote:

>
>
> > b) patch the code to provide a socket option that treats connecting as
> > though the pipe is full.
>
> Best.
>

Agreed - this is definitely the nice way to go.

> Actually I don't see the benefit of a round robin using connecting
> pipes while others are still active, so this might even tread in bug
> territory.


This is right. Please, file an issue with test cases (a C test case
> ideally), and lets fix this. If you want a work around in the
> meantime, use a variant on the LRU model.
>
> -Pieter


This is slightly complicated by the fact that either you'd have a massive
backwards compatability/expectation change (connect()ed sockets block on
first send() in many cases) or you'd have a disparity between the first
connection, and subsequent connections, which feels weird.

Ian
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to