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

Minor documentation issue with http.nonProxyHosts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6u25
    • 6u20
    • docs
    • b01
    • generic
    • generic
    • Verified

        At http://download.oracle.com/javase/6/docs/technotes/guides/net/proxies.html, the property http.nonProxyHosts is described like:

        "http.nonProxyHosts: a list of hosts that should be reached directly, bypassing the proxy. This is a list of regular expressions separated by '|'. Any host matching one of these regular expressions will be reached through a direct connection instead of through a proxy."

        I got a bug filed on this, where the internal customer had issues with the regular expressions. It turns out that the "regular expressions" is actually just very simple patterns that may have a '*' either at the start or at the end.

        This solved the issue for the customer, but they asked us to clarify the documentation. I suggest something like:

        "http.nonProxyHosts: a list of hosts that should be reached directly, bypassing the proxy. This is a list of patterns separated by '|'. The patterns may start or end with a '*' for wildcards. Any host matching one of these patterns will be reached through a direct connection instead of through a proxy."

              skannan Sowmya Kannan (Inactive)
              mcastegr Mattis Castegren (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: