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
1 changed files with 1 additions and 3 deletions

View File

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