mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
Log number of bytes pending after read.
svn:r1726
This commit is contained in:
parent
d7f4b82373
commit
06624df622
1 changed files with 2 additions and 1 deletions
|
@ -237,7 +237,8 @@ int read_to_buf_tls(tor_tls *tls, int at_most, buf_t *buf) {
|
|||
if (r<0)
|
||||
return r;
|
||||
buf->datalen += r;
|
||||
log_fn(LOG_DEBUG,"Read %d bytes. %d on inbuf.",r, (int)buf->datalen);
|
||||
log_fn(LOG_DEBUG,"Read %d bytes. %d on inbuf; %d pending",r,
|
||||
(int)buf->datalen,(int)tor_tls_get_pending_bytes(tls));
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue