NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/58874: nonblocking connect() and getsockname() error conditions
campbell+netbsd%mumble.net@localhost wrote:
> Maybe both are sensible and compatible with POSIX -- I don't know, I
> haven't assessed; I just stumbled upon the difference while running
> git-cinnabar tests:
>
> https://github.com/glandium/git-cinnabar/issues/340
>
> So I'm filing this PR to make a record of the difference and any
> determination about it.
>
> [ test program deleted ]
On FreeBSD 13.3:
freebsd$ ./sn localhost 12345
sn: first connect: Operation now in progress
sn: second connect: Connection refused
sn: connect SO_ERROR: No error: 0
sn: third connect: Connection refused
Cheers,
Simon.
Home |
Main Index |
Thread Index |
Old Index