From 43e06eba8baab0fec003841f2fe6baafbe506e39 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 13 Dec 2006 22:46:42 +0000 Subject: 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 --- src/common/tortls.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/tortls.h') 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); -- cgit v1.2.3-54-g00ecf