Skip to content

gnetworkaddress: Fix parallel enumerations interfering with each other

Patrick Griffis requested to merge wip/tingping/network-address-state into master

The parent GNetworkAddress contains a shared list of resolved addresses that is used as a cache for multiple enumerations.

This commit ensures that the cache is only set upon completion of DNS lookups and only read once by enumerations to avoid being in a bad state.

Fixes #1771 (closed)

Edited by Philip Withnall

Merge request reports