bob icon indicating copy to clipboard operation
bob copied to clipboard

Ensure that `bob.com` works on NetBSD and OpenBSD

Open dinosaure opened this issue 2 years ago • 1 comments

Currently, the connect() function is special for FreeBSD & Windows. I suspect that NetBSD and OpenBSD have the same behavior than FreeBSD and, in this situation, we should merge the FreeBSD's behavior with these platforms. Another issue is about the failure which is not correctly handled by FreeBSD, see: https://github.com/dinosaure/bob/blob/a03c2278a9662c942168c7e04a5f3db511c91241/lib/fiber.ml#L352-L360

dinosaure avatar Sep 19 '22 10:09 dinosaure

The implementation changed now but the issue can exist again. Currently, we filter the special case when we use Linux. Otherwise, in the case where we run into a Mac or a FreeBSD, we do a non-blocking connect() - we probably do the same for NetBSD and OpenBSD but we need a confirmation,

dinosaure avatar Jul 11 '23 16:07 dinosaure