Skip to content

A locking issue in cherokee_server_free #1278

@ryancaicse

Description

@ryancaicse

Hi, there is only an unlocking in the loop, should it be a bug?

webserver/cherokee/server.c

Lines 266 to 269 in 5b1dbdb

list_for_each (i, &srv->thread_list) {
THREAD(i)->exit = true;
CHEROKEE_MUTEX_UNLOCK (&srv->listeners_mutex);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions