diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-13 16:05:22 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-13 18:59:42 -0400 |
commit | b582eb32b820e53dcd8ac9db58f6000b88cf2e4e (patch) | |
tree | 0cdb1c9e17163bd724eacb8523ca9f8af18542b1 /src/or/relay.h | |
parent | 61b7e36312f5a097602ff110478072e0a13178c1 (diff) | |
download | tor-b582eb32b820e53dcd8ac9db58f6000b88cf2e4e.tar.gz tor-b582eb32b820e53dcd8ac9db58f6000b88cf2e4e.zip |
Add a max_cells arg to connection_edge_process_raw_inbuf
I'm going to use this to implement more fairness in
circuit_resume_edge_reading_helper in an attempt to fix bug 1298.
(Updated with fixes from arma and Sebastian)
Diffstat (limited to 'src/or/relay.h')
-rw-r--r-- | src/or/relay.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/relay.h b/src/or/relay.h index 0ef17b6ffd..66d17579a3 100644 --- a/src/or/relay.h +++ b/src/or/relay.h @@ -27,7 +27,8 @@ int connection_edge_send_command(edge_connection_t *fromconn, uint8_t relay_command, const char *payload, size_t payload_len); int connection_edge_package_raw_inbuf(edge_connection_t *conn, - int package_partial); + int package_partial, + int *max_cells); void connection_edge_consider_sending_sendme(edge_connection_t *conn); extern uint64_t stats_n_data_cells_packaged; |