drachtio-freeswitch-modules icon indicating copy to clipboard operation
drachtio-freeswitch-modules copied to clipboard

fix hanging connects in case of hostname resolve failure

Open hhadzem opened this issue 2 years ago • 0 comments

In case of failure to resolve hostname, pendingConnects buffer never empties as it containes nullptr wsi. Additionally, this stops FreeSWITCH from gracefully shutting down.

This fix removes nullptr connects from the buffer, solving the problem.

hhadzem avatar Sep 05 '22 14:09 hhadzem