diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-13 22:46:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-13 22:46:42 +0000 |
commit | 43e06eba8baab0fec003841f2fe6baafbe506e39 (patch) | |
tree | f2d7eae98ddc44dc1217ee4de00685a88cced18e /src/common/tortls.h | |
parent | 5cce710e2b86ffcaf3bad81b95ba94f26f1d2838 (diff) | |
download | tor-43e06eba8baab0fec003841f2fe6baafbe506e39.tar.gz tor-43e06eba8baab0fec003841f2fe6baafbe506e39.zip |
r11566@Kushana: nickm | 2006-12-13 17:46:24 -0500
Try to fix an assert failure in new write limiting code: make buffers.c aware of previous "forced" write sizes from tortls.
svn:r9105
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index 2569abf79c..dea072a338 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -41,6 +41,7 @@ int tor_tls_write(tor_tls_t *tls, char *cp, size_t n); int tor_tls_handshake(tor_tls_t *tls); int tor_tls_shutdown(tor_tls_t *tls); int tor_tls_get_pending_bytes(tor_tls_t *tls); +size_t tor_tls_get_forced_write_size(tor_tls_t *tls); unsigned long tor_tls_get_n_bytes_read(tor_tls_t *tls); unsigned long tor_tls_get_n_bytes_written(tor_tls_t *tls); |