--- a/src/server/daemon/httplistener.c Sat Mar 25 17:18:51 2023 +0100 +++ b/src/server/daemon/httplistener.c Fri May 05 18:02:11 2023 +0200 @@ -77,7 +77,7 @@ int http_listener_global_init(void) { - listener_socket_map = cxHashMapCreate(cxDefaultAllocator, 4); + listener_socket_map = cxHashMapCreate(cxDefaultAllocator, CX_STORE_POINTERS, 4); if(!listener_socket_map) { return 1; } @@ -88,7 +88,7 @@ int start_all_listener() { ServerConfiguration *conf = cfgmgr_get_server_config(); CxList *ls = conf->listeners; - CxIterator iter = cxListIterator(ls, 0); + CxIterator iter = cxListIterator(ls); cx_foreach(HttpListener *, listener, iter) { http_listener_start(listener); }