mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
forward-port some fixes
svn:r3631
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ void connection_about_to_close_connection(connection_t *conn)
|
||||
|
||||
if (conn->type == CONN_TYPE_AP || conn->type == CONN_TYPE_EXIT) {
|
||||
if (!conn->has_sent_end) {
|
||||
log_fn(LOG_WARN,"Bug: Edge connection hasn't sent end yet?");
|
||||
log_fn(LOG_WARN,"Harmless bug: Edge connection hasn't sent end yet?");
|
||||
#ifdef TOR_FRAGILE
|
||||
tor_assert(0);
|
||||
#endif
|
||||
|
||||
@@ -133,7 +133,7 @@ connection_edge_end(connection_t *conn, char reason, crypt_path_t *cpath_layer)
|
||||
circuit_t *circ;
|
||||
|
||||
if (conn->has_sent_end) {
|
||||
log_fn(LOG_WARN,"Bug: Calling connection_edge_end on an already ended stream?");
|
||||
log_fn(LOG_WARN,"Harmless bug: Calling connection_edge_end (reason %d) on an already ended stream?", reason);
|
||||
#ifdef TOR_FRAGILE
|
||||
tor_assert(0);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user