Message ID | 4b7f4023.1a1fb.15f48d21004.Coremail.zhiyong.wu@ucloud.cn |
---|---|
State | New |
Headers | show |
Series | COLO: remove the operation to clear connection list | expand |
diff --git a/net/colo.c b/net/colo.c index 28ce7c8..668abb7 100644 --- a/net/colo.c +++ b/net/colo.c @@ -197,12 +197,6 @@ Connection *connection_get(GHashTable *connection_track_table, trace_colo_proxy_main("colo proxy connection hashtable full," " clear it"); connection_hashtable_reset(connection_track_table); - /* - * clear the conn_list - */ - while (!g_queue_is_empty(conn_list)) { - connection_destroy(g_queue_pop_head(conn_list)); - } } g_hash_table_insert(connection_track_table, new_key, conn);