浏览代码

Use connection_mark_for_close() rather than connection_mark_on_flush() on OOS

Andrea Shepard 7 年之前
父节点
当前提交
9a09513c0b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/or/connection.c

+ 2 - 2
src/or/connection.c

@@ -4653,12 +4653,12 @@ kill_conn_list_for_oos, (smartlist_t *conns))
     if (c->type == CONN_TYPE_OR) {
       connection_or_close_for_error(TO_OR_CONN(c), 1);
     } else {
-      connection_mark_and_flush(c);
+      connection_mark_for_close(c);
     }
   } SMARTLIST_FOREACH_END(c);
 
   log_notice(LD_NET,
-             "OOS handler marked and flushed %d connections",
+             "OOS handler marked %d connections",
              smartlist_len(conns));
 }