[nanomsg] Re: Multiple connections to pair on Windows?

  • From: Paul Colomiets <paul@xxxxxxxxxxxxxx>
  • To: "nanomsg@xxxxxxxxxxxxx" <nanomsg@xxxxxxxxxxxxx>
  • Date: Thu, 31 Oct 2013 15:58:47 +0200

Hi Martin,

On Thu, Oct 31, 2013 at 2:09 PM, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 31/10/13 10:41, Paul Colomiets wrote:
>
>> In linux with more than one connection it crashes too:
>>
>> Transport endpoint is already connected [106]
>> (src/transports/ipc/sipc.c:284)
>>
>> Probably the difference in Dirk's tests is how long connection
>> lasts on Linux and on Windows. Maybe windows closes connection
>> later or just the test is different.
>
> The problem should be solved now in the mainline. Please, do re-test.
>

Now the connecting peer crashes:

nn_pair -x/tmp/test -A
Unexpected source: state=5 source=1 action=5
(src/transports/utils/streamhdr.c:305)
zsh: abort (core dumped)  nn_pair -x/tmp/test -A -i2 -Dworld

-- 
Paul

Other related posts: