• Iain Lane's avatar
    tests/network-monitor: Always use the dummy proxy resolver · ec20cb44
    Iain Lane authored
    If glib-networking is installed and built with libproxy support, this
    test will use it. If a proxy is set in the environment, we might get
    correctly told to go through it for certain accesses. However, this isn't
    going to work, because the testsuite monkeys with the network monitor to
    tell it that all addresses - including the proxy - aren't reachable.
    
    We're trying to check if adding networks to a GNetworkMonitor works in
    general. Proxies just get in the way here, so let's use the built in
    dummy proxy resolver which just tells us that all URLs are directly
    accessible.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794801
    ec20cb44
network-monitor.c 18.5 KB