Skip to content

SCAMP: SDP messages are dropped silently if no resources available #92

@lplana

Description

@lplana

When an SDP message arrives, scamp needs an 'sdp_msg_t' mailbox to hold it and an 'event_t' event holder to schedule the message for processing. There is a limited number of mailboxes and event holders, therefore a new SDP message may not find one or the other available.

Currently, scamp simply drops the SDP message silently:

  • unavailable mailboxes are dealt with in 'scamp-3.c' lines [322-328].
  • unavailable event holders are dealt with in 'scamp-3.c' lines [236-239].

It would be better to return an error code, such as 'RC_BUF'. The problem, obviously, is that there is no mailbox or event holder to use for the return message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions