[EMAIL PROTECTED] wrote:

I may have misunderstood the way proxies work for merlin. From my understanding a proxy is for accessing a remote repository. There can be any number of remote repositories used to snarf down jars. However is there only one proxy context?


I think there should be only one proxy context - because this is basically where the definition of machine to proxy servers comes in on a protocol/port basis. What is missing in the current implementation is the ability to declare nonProxyHosts in conjunction with proxyHost.


From the JDK docs/guide/net/properties.html


*http.proxyHost* (default: <none>)
*http.proxyPort* (default: 80 if http.proxyHost specified)
*http.nonProxyHosts* (default: <none>

*ftp.proxyHost* (default: <none>)
*ftp.proxyPort* (default: 80 if ftp.proxyHost specified)
*ftp.nonProxyHosts* (default: <none>)

   http.proxyHost and http.proxyPort indicate the proxy server and port
   that the http protocol handler will use.

   http.nonProxyHosts indicates the hosts which should be connected too
   directly and not through the proxy server. The value can be a list
   of hosts, each seperated by a |, and in addition a wildcard
   character (*) can be used for matching. For example:
   -Dhttp.nonProxyHosts="*.foo.com|localhost".

   ftp.proxyHost and ftp.proxyPort indicate the proxy server and port
   that the ftp protocol handler will use. ftp.nonProxyHosts is
   similiar to http.nonProxyHosts and indicates the hosts that should
   be connected too directly and not through the proxy server.

Steve.




Alex


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to