Hi Laurent, Afaiu, EAGAIN is for internal retrying; EINTR is an interrupted process, and EPROTO is an actual handshake error, which always leads to the connection being broken. There's no handshake recovery process.
-Pieter On Thu, Oct 3, 2013 at 12:03 PM, Laurent Alebarde <[email protected]> wrote: > Hi Developpers, > > Could you please explain me how the curve handcheck behave when a bad packet > is detected ? There are different types of errors : EPROTO, EINTR, EAGAIN, > etc.. Some are fatal, others lead to a retry, others possibly to a abandon > of the connexion. > > I understand for example that EAGAIN leads to a retry ? From the very > beginning of the handcheck after having deleted or free all the objects like > curve_server_t or mechanism_t ? Or only reset the current state and wait > again for a valid message ? So isn't it more a WARNING ? > > A little description of the philosophy, behaviour and events would be very > useful to me. > > Thanks in advance, > > > Laurent. > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
