osmo-sip-connector in bad state

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Tue Mar 7 15:40:55 UTC 2017


> On 7 Mar 2017, at 16:03, Harald Welte <laforge at gnumonks.org> wrote:
> 
> Hi Holger,
> 

Hey LaForge,

> what's the problem / disadvantage with the simple POLERR
> hack/workaround? Yes, it's not elegant, but it should come without any
> performance overhead, as poll will only return when actual errors are
> pending in the queue.

The logic is FD_ISSET(fd, &readset) => POLLIN | POLLERR. We speculate
that there is an error for every possible and force another recvmsg call.

Not an act of beauty but only done when there is work anyway and not
performance critical. At the same time the emulate select will poll seems
to be working(tm) so we might use that.


holger





More information about the OpenBSC mailing list