aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-15 23:39:08 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-15 23:39:08 +0000
commitca4eb987c8653a15d971341f40cb10bfaa92d772 (patch)
tree69b191c6f327d024163730ec5b864cbdf7b17716 /src/or/connection.c
parent418c2e1b6b7900a1b0b7974738b66f84485b4c36 (diff)
downloadtor-ca4eb987c8653a15d971341f40cb10bfaa92d772.tar.gz
tor-ca4eb987c8653a15d971341f40cb10bfaa92d772.zip
r14182@tombo: nickm | 2008-02-15 17:20:51 -0500
Defer, downgrade, or address more XXX020s. The remaining ones are all ones we should deal with before release. svn:r13530
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 6f602a9e4e..738cdaa9e9 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -613,12 +613,6 @@ _connection_mark_for_close(connection_t *conn, int line, const char *file)
conn->marked_for_close_file = file;
add_connection_to_closeable_list(conn);
-#if 0
- /* XXXX020 Actually, I don't think this is right. */
- if (conn->linked_conn && !conn->linked_conn->marked_for_close)
- _connection_mark_for_close(conn->linked_conn, line, file);
-#endif
-
/* in case we're going to be held-open-til-flushed, reset
* the number of seconds since last successful write, so
* we get our whole 15 seconds */
@@ -1681,7 +1675,8 @@ connection_bucket_refill_helper(int *bucket, int rate, int burst,
if (*bucket > burst || *bucket < starting_bucket) {
/* If we overflow the burst, or underflow our starting bucket,
* cap the bucket value to burst. */
- /* XXXX020 this might be redundant now. */
+ /* XXXX021 this might be redundant now, but it doesn't show up
+ * in profiles. Remove it after analysis. */
*bucket = burst;
}
}