[nanomsg] Re: Expired nn_survey: deadline error mismatch

  • From: Steve Vinoski <vinoski@xxxxxxxx>
  • To: nanomsg <nanomsg@xxxxxxxxxxxxx>
  • Date: Wed, 14 Jan 2015 15:49:39 -0500

On Wed, Jan 14, 2015 at 3:37 PM, Daniel Hofmann <daniel@xxxxxxxx> wrote:

> From doc/nn_survey.txt [0]:
> > When the survey deadline expires, receive will return ETIMEDOUT error.
>
> But it seems to me the error is actually EFSM in this case, as it is
> e.g. checked for in tests/survey.c [1].
>
> Is the documentation wrong here? With nn_survey, when is the error EFSM
> and when is it ETIMEDOUT (if at all)? Please clarify.
>

This problem has been in the github issues list for awhile now:

https://github.com/nanomsg/nanomsg/issues/194

--steve

Other related posts: