Not re-reading proxy.pac
I am using GNOME 3.38 on Fedora 30 which has glib-networking-2.66.0-1.fc33.x86_64.
I have configured GNOME to use a proxy PAC file. However whenever I make changes to that file, they are not reflected in usage or tests that I do to confirm the proxy pac file. I use the following program to test the proxy configuration:
#!/usr/bin/python3
import gi
from gi.repository import Gio
proxyResolver = Gio.ProxyResolver.get_default()
print(proxyResolver)
for url in [...]:
uris = proxyResolver.lookup(url, None)
print(url, ": ", uris)
What is the canonical way of making GLib re-read the proxy pac, that DOES NOT include resetting (disconnecting, reconnecting) networking altogether? This machine is remote and I cannot afford to have a networking reset fail and take the machine offline.
Surely there has to be a less intrusive way to force GLib to re-read the proxy PAC file. Frankly, it seems like something that should be watched with an inotify so that changes to the file are detected and consumed transparently.