@@ -128,15 +128,6 @@ struct default_host_resolver {
128128 /* host_name (aws_string*) -> host_entry* */
129129 struct aws_hash_table host_entry_table ;
130130
131- /* Hash table of listener entries per host name. We keep this decoupled from the host entry table to allow for
132- * listeners to be added/removed regardless of whether or not a corresponding host entry exists.
133- *
134- * Any time the listener list in the listener entry becomes empty, we remove the entry from the table. This
135- * includes when a resolver thread moves all of the available listeners to its local list.
136- */
137- /* host_name (aws_string*) -> host_listener_entry* */
138- struct aws_hash_table listener_entry_table ;
139-
140131 enum default_resolver_state state ;
141132
142133 /*
@@ -329,7 +320,6 @@ static void s_cleanup_default_resolver(struct aws_host_resolver *resolver) {
329320
330321 aws_event_loop_group_release (default_host_resolver -> event_loop_group );
331322 aws_hash_table_clean_up (& default_host_resolver -> host_entry_table );
332- aws_hash_table_clean_up (& default_host_resolver -> listener_entry_table );
333323
334324 aws_mutex_clean_up (& default_host_resolver -> resolver_lock );
335325
@@ -923,12 +913,6 @@ static void aws_host_resolver_thread(void *arg) {
923913 request_interruptible_wait_time = wait_between_resolves_interval - shutdown_only_wait_time ;
924914 }
925915
926- struct aws_linked_list listener_list ;
927- aws_linked_list_init (& listener_list );
928-
929- struct aws_linked_list listener_destroy_list ;
930- aws_linked_list_init (& listener_destroy_list );
931-
932916 bool keep_going = true;
933917
934918 struct aws_array_list address_list ;
0 commit comments