Skip to content
Snippets Groups Projects
Commit 06624df6 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Log number of bytes pending after read.

svn:r1726
parent d7f4b823
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment