Attention is currently required from: daniel, laforge.
jolly has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/35909?usp=email )
Change subject: osmo_io: Move notify_connected function to backend ......................................................................
Patch Set 5:
(1 comment)
File src/core/osmo_io_poll.c:
https://gerrit.osmocom.org/c/libosmocore/+/35909/comment/214f5e38_39197e3a PS4, Line 116: if (IOFD_FLAG_ISSET(iofd, IOFD_FLAG_FD_REGISTERED))
is this something we silently want to accept? or something which should be debugged and hence at lea […]
If the user enables notification when the socket is connects (osmo_iofd_notify_connected) and also wants to register the file descriptor (osmo_iofd_register) at the same time, this function is called twice.
The user does not need to wait until the socket is connected before calling osmo_iofd_register() this way.
This means that no error should be logged here.