Commit 9d120d12 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Corrected order of locks to avoid dead-locks

parent 7b84c45a
......@@ -1171,8 +1171,8 @@ static int _handle_resources(client_t *client, char **uri)
}
}
listen_sock = listensocket_get_listener(client->con->listensocket_effective);
config = config_get_config();
listen_sock = listensocket_get_listener(client->con->listensocket_effective);
if (listen_sock) {
serverhost = listen_sock->bind_address;
serverport = listen_sock->port;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment