1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

Additional proxy selector logging

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1794 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-09-16 09:25:49 +00:00
parent dc649b3a6a
commit 0ecb6a6def

View File

@ -218,8 +218,10 @@ public final class DavGatewayHttpClientFacade {
* @return proxy selector
*/
private static List<Proxy> getProxyForURI(java.net.URI uri) {
LOGGER.debug("get Default proxy selector");
ProxySelector proxySelector = ProxySelector.getDefault();
LOGGER.debug("getProxyForURI(" + uri + ')');
List<Proxy> proxies = ProxySelector.getDefault().select(uri);
List<Proxy> proxies = proxySelector.select(uri);
LOGGER.debug("got system proxies:" + proxies);
return proxies;
}