소스 검색

sometimes, a conn on the closeable_lst gets absolutely
clobbered. maybe this will help me find out why.


svn:r3498

Roger Dingledine 21 년 전
부모
커밋
0f5a198028
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/or/main.c

+ 1 - 0
src/or/main.c

@@ -203,6 +203,7 @@ add_connection_to_closeable_list(connection_t *conn)
 {
   tor_assert(!smartlist_isin(closeable_connection_lst, conn));
   tor_assert(conn->marked_for_close);
+  assert_connection_ok(conn, time(NULL));
   smartlist_add(closeable_connection_lst, conn);
 }