Skip to content

Commit d43249d

Browse files
committed
Solve a bug identified by Sebastian that we would always reaquire the lock immediately instead of stalling for the isapi module's thread to complete its work. This requires the new changes to thread_mutex that introduce a guarenteed APR_THREAD_MUTEX_UNNESTED flag. Reported by: Sebastian Hantsch <Sebastian.Hantsch@t-online.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95366 13f79535-47bb-0310-9956-ffa450edef68
1 parent fe04f3e commit d43249d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/arch/win32/mod_isapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ apr_status_t isapi_handler (request_rec *r)
14871487
apr_thread_mutex_t *comp;
14881488

14891489
rv = apr_thread_mutex_create(&cid->completed,
1490-
APR_THREAD_MUTEX_DEFAULT,
1490+
APR_THREAD_MUTEX_UNNESTED,
14911491
r->pool);
14921492
comp = cid->completed;
14931493
if (cid->completed && (rv == APR_SUCCESS)) {

0 commit comments

Comments
 (0)