jdk/src/share/lib/net.properties
author jccollet
Fri, 18 Sep 2009 10:51:44 +0200
changeset 3855 653df3a7256d
parent 2 90ce3da70b43
permissions -rw-r--r--
6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost Summary: Move default nonProxyHosts from hardcoded to property default value Reviewed-by: chegar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
############################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
#  	Default Networking Configuration File
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
# This file may contain default values for the networking system properties.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# These values are only used when the system properties are not specified
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# on the command line or set programatically.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# For now, only the various proxy settings can be configured here.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
############################################################
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
# Whether or not the DefaultProxySelector will default to System Proxy
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# settings when they do exist.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# Set it to 'true' to enable this feature and check for platform
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# specific proxy settings
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# Note that the system properties that do explicitely set proxies
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# (like http.proxyHost) do take precedence over the system settings
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# even if java.net.useSystemProxies is set to true.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
java.net.useSystemProxies=false
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#------------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
# Proxy configuration for the various protocol handlers.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
# DO NOT uncomment these lines if you have set java.net.useSystemProxies
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
# to true as the protocol specific properties will take precedence over
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
# system settings.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
#------------------------------------------------------------------------
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# HTTP Proxy settings. proxyHost is the name of the proxy server
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
# value is 80) and nonProxyHosts is a '|' separated list of hostnames which
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# should be accessed directly, ignoring the proxy server (default value is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
# localhost & 127.0.0.1).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
# http.proxyHost=
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
# http.proxyPort=80
3855
653df3a7256d 6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
jccollet
parents: 2
diff changeset
    35
http.nonProxyHosts=localhost|127.*|[::1]
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
# HTTPS Proxy Settings. proxyHost is the name of the proxy server
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
# value is 443). The HTTPS protocol handlers uses the http nonProxyHosts list.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
# https.proxyHost=
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
# https.proxyPort=443
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
# FTP Proxy settings. proxyHost is the name of the proxy server
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
# value is 80) and nonProxyHosts is a '|' separated list of hostnames which
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
# should be accessed directly, ignoring the proxy server (default value is
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
# localhost & 127.0.0.1).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
# ftp.proxyHost=
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
# ftp.proxyPort=80
3855
653df3a7256d 6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
jccollet
parents: 2
diff changeset
    52
ftp.nonProxyHosts=localhost|127.*|[::1]
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
# Gopher Proxy settings. proxyHost is the name of the proxy server
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
# (e.g. proxy.mydomain.com), proxyPort is the port number to use (default
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
# value is 80)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
# gopher.proxyHost=
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
# gopher.proxyPort=80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
# Socks proxy settings. socksProxyHost is the name of the proxy server
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
# (e.g. socks.domain.com), socksProxyPort is the port number to use
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
# (default value is 1080)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
# socksProxyHost=
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
# socksProxyPort=1080
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
# HTTP Keep Alive settings. remainingData is the maximum amount of data
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
# in kilobytes that will be cleaned off the underlying socket so that it 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
# can be reused (default value is 512K), queuedConnections is the maximum 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
# number of Keep Alive connections to be on the queue for clean up (default
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
# value is 10).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
# http.KeepAlive.remainingData=512
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
# http.KeepAlive.queuedConnections=10