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.
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_OBJECTSwhen callingWaitForMultipleObjectsEx. I was able to circumvent this issue by limiting the number of descriptors added inbelle_sip_main_loop_iteratebefore callingbelle_sip_poll, but without detailed knowledge of belle-sip internals, I don't know if this is the correct solution.