1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

Caldav: No need to check connectivity on HTTPS

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@550 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-05-04 12:27:38 +00:00
parent 711f750c51
commit 48f7d1703d

View File

@ -37,7 +37,7 @@ public class CaldavConnection extends AbstractConnection {
// Initialize the streams and start the thread // Initialize the streams and start the thread
public CaldavConnection(Socket clientSocket) { public CaldavConnection(Socket clientSocket) {
super(CaldavConnection.class.getName(), clientSocket, "UTF-8"); super(CaldavConnection.class.getSimpleName(), clientSocket, "UTF-8");
wireLogger.setLevel(Settings.getLoggingLevel("httpclient.wire")); wireLogger.setLevel(Settings.getLoggingLevel("httpclient.wire"));
} }
@ -125,8 +125,6 @@ public class CaldavConnection extends AbstractConnection {
decodeCredentials(headers.get("authorization")); decodeCredentials(headers.get("authorization"));
// authenticate only once // authenticate only once
if (session == null) { if (session == null) {
// first check network connectivity
ExchangeSessionFactory.checkConfig();
try { try {
session = ExchangeSessionFactory.getInstance(userName, password); session = ExchangeSessionFactory.getInstance(userName, password);
} catch (DavMailAuthenticationException e) { } catch (DavMailAuthenticationException e) {