diff options
| author | Florian Westphal <fw@strlen.de> | 2009-02-05 23:42:56 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2009-02-05 23:47:28 +0100 |
| commit | b8c6dd503fe4e7814f4b9327a8cd43007a4ec150 (patch) | |
| tree | 09cc0e7cb318d372076e502b2de315dd6884672e /src | |
| parent | 66d6c3c84b092c422b094bddeff3e04fd2488cfc (diff) | |
| download | ngircd-b8c6dd503fe4e7814f4b9327a8cd43007a4ec150.tar.gz ngircd-b8c6dd503fe4e7814f4b9327a8cd43007a4ec150.zip | |
TLS/SSL: remove useless error message when ssl connection is closed
When using OpenSSL, the following annoying "error" message was logged whenever an encrypted connection was shut down in a orderly fashion: TLS/SSL Connection shutdown: ConnSSL_Read: Unable to determine error of course, this isn't an error at all.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conn-ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/conn-ssl.c b/src/ngircd/conn-ssl.c index 1b4da3ce..4ef8f661 100644 --- a/src/ngircd/conn-ssl.c +++ b/src/ngircd/conn-ssl.c @@ -484,8 +484,8 @@ ConnSSL_HandleError( CONNECTION *c, const int code, const char *fname ) Conn_OPTION_ADD(c, CONN_SSL_WANT_WRITE); /* fall through */ case SSL_ERROR_NONE: return 0; /* try again later */ - case SSL_ERROR_ZERO_RETURN: /* TLS/SSL Connection was shut down */ - LogOpenSSLError("TLS/SSL Connection shutdown", fname); + case SSL_ERROR_ZERO_RETURN: + LogDebug("TLS/SSL connection shut down normally"); break; /* SSL_ERROR_WANT_CONNECT, SSL_ERROR_WANT_ACCEPT, SSL_ERROR_WANT_X509_LOOKUP |