Mercurial > dovecot > core-2.2
changeset 173:d638f42bf813 HEAD
Don't log PUSH_ERRORs.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 07 Sep 2002 05:09:53 +0300 |
parents | 674d0067ea22 |
children | 61b0bb62b42e |
files | src/login/ssl-proxy.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/login/ssl-proxy.c Sat Sep 07 05:06:36 2002 +0300 +++ b/src/login/ssl-proxy.c Sat Sep 07 05:09:53 2002 +0300 @@ -82,6 +82,11 @@ if (!gnutls_error_is_fatal(sent)) return 0; + if (sent == GNUTLS_E_PUSH_ERROR) { + /* disconnected */ + return -1; + } + /* error occured */ i_warning("Error sending to SSL client: %s", gnutls_strerror(sent)); ssl_proxy_destroy(proxy);