[Webkit-unassigned] [Bug 128674] [GTK] Provide API to set proxy settings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 3 21:48:47 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=128674
--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to comment #1)
> *The hack:
>
> - Unset env variables GNOME_DESKTOP_SESSION_ID and DESKTOP_SESSION
> - Set env variables http_proxy and https_proxy.
> - See
> https://git.gnome.org/browse/glib-networking/tree/proxy/gnome/
> gproxyresolvergnome.c
Fair warning: it's not practical to safely use setenv() in a threaded application except at the very beginning of main() before any secondary threads are created, since one thread could be calling setenv() (or Environment.set_variable() in Vala) at the same time another is calling getenv(). It's not some theoretical issue, we've had multiple cases in GNOME, including one where the entire desktop session crashes (GNOME #754951).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160804/5bf28f3e/attachment.html>
More information about the webkit-unassigned
mailing list