summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-25 02:04:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-25 02:04:59 +0000
commit22047153722da3737b10fcbea6cd65bea5bdbcac (patch)
tree0ce75d45493cd0eec3fe07f5f80db7d4526498fe
parentba26e2d59e1ecc20bf556b70e03055fa4390474c (diff)
Remove excessive debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6712 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 5896f812b..daaa8b422 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -383,7 +383,6 @@ class ModuleSSLGnuTLS : public Module
virtual void OnRawSocketClose(int fd)
{
- ServerInstance->Log(DEBUG,"Close 3");
CloseSession(&sessions[fd]);
EventHandler* user = ServerInstance->SE->GetRef(fd);
@@ -404,7 +403,6 @@ class ModuleSSLGnuTLS : public Module
if (!session->sess)
{
readresult = 0;
- ServerInstance->Log(DEBUG,"Close 4");
CloseSession(session);
return 1;
}
@@ -437,7 +435,6 @@ class ModuleSSLGnuTLS : public Module
{
// Client closed connection.
readresult = 0;
- ServerInstance->Log(DEBUG,"Close 5");
CloseSession(session);
return 1;
}
@@ -451,7 +448,6 @@ class ModuleSSLGnuTLS : public Module
else
{
readresult = 0;
- ServerInstance->Log(DEBUG,"Close 6");
CloseSession(session);
}
}
@@ -500,7 +496,6 @@ class ModuleSSLGnuTLS : public Module
if (!session->sess)
{
- ServerInstance->Log(DEBUG,"Close 7");
CloseSession(session);
return 1;
}
@@ -525,14 +520,12 @@ class ModuleSSLGnuTLS : public Module
if(ret == 0)
{
- ServerInstance->Log(DEBUG,"Close 1");
CloseSession(session);
}
else if (ret < 0)
{
if(ret != GNUTLS_E_AGAIN && ret != GNUTLS_E_INTERRUPTED)
{
- ServerInstance->Log(DEBUG,"Close 7");
CloseSession(session);
}
else
@@ -620,7 +613,6 @@ class ModuleSSLGnuTLS : public Module
else
{
// Handshake failed.
- ServerInstance->Log(DEBUG,"Close 2");
CloseSession(session);
session->status = ISSL_CLOSING;
}