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

Change the order of linux proxy detection

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u40, 9
    • Fix Version/s: 9
    • Component/s: deploy
    • Labels:
      None
    • Resolved In Build:
      b42
    • CPU:
      generic
    • OS:
      linux

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: