Skip to content

Turn all the callback to be always asynchronous

Ondřej Surý requested to merge 2255-dig-crashed-in-tcp_connected-on-openbsd into main

When calling the high level netmgr functions, the callback would be sometimes called synchronously if we catch the failure directly, or asynchronously if it happens later. The synchronous call to the callback could create deadlocks as the caller would not expect the failed callback to be executed directly.

Closes #2255 (closed)

Edited by Ondřej Surý

Merge request reports