mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
log debug so nick can see it too
svn:r1721
This commit is contained in:
parent
750211259b
commit
719bb5c0f3
@ -377,6 +377,7 @@ tor_tls_read(tor_tls *tls, char *cp, int len)
|
|||||||
if (r > 0)
|
if (r > 0)
|
||||||
return r;
|
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_INFO);
|
||||||
|
log_fn(LOG_DEBUG,"returned r=%d, err=%d",r,err);
|
||||||
if (err == _TOR_TLS_ZERORETURN) {
|
if (err == _TOR_TLS_ZERORETURN) {
|
||||||
tls->state = TOR_TLS_ST_CLOSED;
|
tls->state = TOR_TLS_ST_CLOSED;
|
||||||
return TOR_TLS_CLOSE;
|
return TOR_TLS_CLOSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user