Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8062183

Change the order of linux proxy detection

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u40, 9
    • deploy
    • None
    • b42
    • generic
    • linux

        Currently on linux we discover system proxy settings using the following way:
        1. Check proxy settings in gnome2 config (for example, for http - /system/http_proxy/use_http_proxy, /system/http_proxy/http_proxy, ...). If they exist, use it.
        2. Check proxy settings in env (for example, for http - $http_proxy,$HTTP_PROXY). If they exist, use it.
        3. Check proxy settings in /etc/environment (for example, for http the keys are http_proxy, HTTP_PROXY). If they exist, use it.

        We should change the order to 2-3-1, as environment variable is override of config and gnome config is special case.

              vdrozdov Victor Drozdov (Inactive)
              vdrozdov Victor Drozdov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: