[zeromq-dev] issue : libzmq can send messages in a curve socket before the handcheck is finished !
Pieter Hintjens
ph at imatix.com
Mon Oct 21 10:54:32 CEST 2013
Good to hear it works. Yes, the internals are quite complex... :-)
On Mon, Oct 21, 2013 at 10:14 AM, Laurent Alebarde <l.alebarde at free.fr> wrote:
> Le 20/10/2013 21:36, Pieter Hintjens a écrit :
>
> On Sun, Oct 20, 2013 at 8:13 PM, Laurent Alebarde <l.alebarde at free.fr>
> wrote:
>
> Thanks for your sunday answer :-) . What I see, as described below, is that
> when I block the handcheck with breakpoints in a multithreading debugging
> session (I know you don't like that ;-) ), the main test program can send
> data in a non blocking way and with a valid return value.
>
> Yes, this is valid and normal. Message sending is independent of
> connection status, until the HWM is reached.
>
> What I don't know is if the application data is queued somewhere (the pipe
> you are talking about ?) in a way the handcheck finaly goes on the wire
> first, or if application data may go on the wire first and be rejected by
> the peer until the handcheck is finished ?
>
> It should be provable; send a message before connecting, connect, and
> the message gets delivered. (Dealer socket or Push socket).
>
> I could finally manage to make a deeper debugging session. Actually, the
> application message do not reach the proxy until the handcheck is finished.
> Impressive library but not easy to dig into its internals (for me).
>
> So, everything is fine.
>
> Thanks Pieter.
>
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
-
Pieter Hintjens
CEO of iMatix.com
Founder of ZeroMQ community
blog: http://hintjens.com
More information about the zeromq-dev
mailing list