View | Details | Raw Unified | Return to bug 54311
Collapse All | Expand All

(-)../httpd-2.4.3-org/httpd-2.4.3/server/mpm/event/event.c (-1 / +6 lines)
Lines 2126-2132 Link Here
2126
    apr_threadattr_detach_set(thread_attr, 0);
2126
    apr_threadattr_detach_set(thread_attr, 0);
2127
2127
2128
    if (ap_thread_stacksize != 0) {
2128
    if (ap_thread_stacksize != 0) {
2129
        apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize);
2129
        rv = apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize);
2130
        if(rv != APR_SUCCESS && rv != APR_ENOTIMPL) {
2131
            ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP, 0, NULL, APLOGNO(00522)
2132
                         "WARNING: ThreadStackSize of %ld is inappropriate, using default", 
2133
                         ap_thread_stacksize);
2134
        }
2130
    }
2135
    }
2131
2136
2132
    ts->threads = threads;
2137
    ts->threads = threads;
(-)../httpd-2.4.3-org/httpd-2.4.3/server/mpm/worker/worker.c (-1 / +7 lines)
Lines 1276-1282 Link Here
1276
    apr_threadattr_detach_set(thread_attr, 0);
1276
    apr_threadattr_detach_set(thread_attr, 0);
1277
1277
1278
    if (ap_thread_stacksize != 0) {
1278
    if (ap_thread_stacksize != 0) {
1279
        apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize);
1279
        rv = apr_threadattr_stacksize_set(thread_attr, ap_thread_stacksize);
1280
        if(rv != APR_SUCCESS && rv != APR_ENOTIMPL) {
1281
            ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP, 0, NULL, APLOGNO(00522)
1282
                         "WARNING: ThreadStackSize of %ld is inappropriate, using default", 
1283
                         ap_thread_stacksize);
1284
	}
1285
1280
    }
1286
    }
1281
1287
1282
    ts->threads = threads;
1288
    ts->threads = threads;

Return to bug 54311