Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs Windows app with too many concurrent sockets #15

Open
attermann opened this issue Jun 30, 2021 · 1 comment
Open

Hangs Windows app with too many concurrent sockets #15

attermann opened this issue Jun 30, 2021 · 1 comment

Comments

@attermann
Copy link

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.

@attermann
Copy link
Author

Created pull request #16 to illustrate my temporary fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant