aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-10-29 02:13:53 -0700
committerAndrea Shepard <andrea@torproject.org>2014-09-30 22:48:26 -0700
commit2efbab2aaf98d8f8f0df504efd4fdd0fac77d354 (patch)
tree2099658b3d71719d09c16db6590453ebb6f94b95 /src/or/connection_or.c
parent472b62bfe4edb2f5e332c997be2ec69bdf590660 (diff)
downloadtor-2efbab2aaf98d8f8f0df504efd4fdd0fac77d354.tar.gz
tor-2efbab2aaf98d8f8f0df504efd4fdd0fac77d354.zip
Provide generic mechanism for scheduler to query writeable cells on a channel
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 9074c0ac5f..a8f9d41923 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -576,14 +576,6 @@ connection_or_process_inbuf(or_connection_t *conn)
return ret;
}
-/** When adding cells to an OR connection's outbuf, keep adding until the
- * outbuf is at least this long, or we run out of cells. */
-#define OR_CONN_HIGHWATER (32*1024)
-
-/** Add cells to an OR connection's outbuf whenever the outbuf's data length
- * drops below this size. */
-#define OR_CONN_LOWWATER (16*1024)
-
/** Called whenever we have flushed some data on an or_conn: add more data
* from active circuits. */
int