mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
r12129@Kushana: nickm | 2007-02-03 09:57:36 -0500
Update assert_connection_ok() to match the "block tunnelled dir conn if the or conn is full" logic. This may fix bug 385. svn:r9479
This commit is contained in:
parent
275109d8b0
commit
6149ab01f8
@ -2377,7 +2377,9 @@ assert_connection_ok(connection_t *conn, time_t now)
|
||||
}
|
||||
|
||||
if (conn->outbuf_flushlen > 0) {
|
||||
tor_assert(connection_is_writing(conn) || conn->wants_to_write);
|
||||
tor_assert(connection_is_writing(conn) || conn->wants_to_write ||
|
||||
(conn->type == CONN_TYPE_DIR &&
|
||||
TO_DIR_CONN(conn)->is_blocked_on_or_conn));
|
||||
}
|
||||
|
||||
if (conn->hold_open_until_flushed)
|
||||
|
Loading…
Reference in New Issue
Block a user