diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-08-02 19:25:41 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-08-03 00:24:22 +0200 |
commit | aca5540e13319c951ecb343eec21647ba7730e56 (patch) | |
tree | c1db81aaf7e8ee6eee9064670e3389506d4bfa1f /modules/vhacd | |
parent | c17a541650184ce05ff9153a71a6f37a4d8ea63e (diff) |
[Net] Fix IP address resolution incorrectly locking the main thread.
This seems to be a pretty old bug, older then originally reported (at
least under certain circumstances).
The IP singleton uses a resolve queue so developers can queue hostnames
for resolution in a separate while keeping the main thread unlocked
(address-resolution OS functions are blocking, and could block for a long
time in case of network disruption).
In most places though, the address resolution function was called with
the mutex locked, causing other functions (querying status, queueing
another hostname, ecc) to block until that resolution ended.
This commit ensures that all calls to OS address resolution are done
with the mutex unlocked.
Diffstat (limited to 'modules/vhacd')
0 files changed, 0 insertions, 0 deletions