Skip to content

Hangs Windows app with too many concurrent sockets #15

Description

@attermann

Using belle-sip (c8a82ea) in linphone-desktop to make a series of parallel HTTP requests results in the Windows app hanging and the following error being logged several times per millisecond:

[/belle-sip] ERROR WaitForMultipleObjectsEx() failed.

I traced this back to belle-sip not honoring MAXIMUM_WAIT_OBJECTS when calling WaitForMultipleObjectsEx. I was able to circumvent this issue by limiting the number of descriptors added in belle_sip_main_loop_iterate before calling belle_sip_poll, but without detailed knowledge of belle-sip internals, I don't know if this is the correct solution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions