summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-10-17 16:21:42 +0000
committerPeter Palfrader <peter@palfrader.org>2005-10-17 16:21:42 +0000
commit0d9aedfcea6d9b9f2e36bcc6176da8ac0f31a9b0 (patch)
treeb4e573d9050e828ba4bc6659f3db42f31a4667e7 /src/common/tortls.c
parentbec2271029463b426a9c87330ff392b9807d62ec (diff)
downloadtor-0d9aedfcea6d9b9f2e36bcc6176da8ac0f31a9b0.tar.gz
tor-0d9aedfcea6d9b9f2e36bcc6176da8ac0f31a9b0.zip
Downgrade a few INFO level logs to DEBUG again. Also add two or three new
logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 522deb09e0..694060d18d 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -479,7 +479,7 @@ tor_tls_read(tor_tls_t *tls, char *cp, size_t len)
r = SSL_read(tls->ssl, cp, len);
if (r > 0)
return r;
- err = tor_tls_get_error(tls, r, CATCH_ZERO, "reading", LOG_INFO);
+ err = tor_tls_get_error(tls, r, CATCH_ZERO, "reading", LOG_DEBUG);
if (err == _TOR_TLS_ZERORETURN) {
log_fn(LOG_DEBUG,"read returned r=%d; TLS is closed",r);
tls->state = TOR_TLS_ST_CLOSED;