Bug 213081
Summary: | mod_nss is incorrectly determining model | ||
---|---|---|---|
Product: | [Retired] Red Hat Fortitude | Reporter: | Rob Crittenden <rcritten> |
Component: | General | Assignee: | Rob Crittenden <rcritten> |
Status: | CLOSED EOL | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | benl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-27 18:36:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 180565 |
Description
Rob Crittenden
2006-10-30 19:23:56 UTC
The diff is: Index: nss_engine_init.c =================================================================== RCS file: /cvs/dirsec/mod_nss/nss_engine_init.c,v retrieving revision 1.26 diff -u -r1.26 nss_engine_init.c --- nss_engine_init.c 26 Oct 2006 18:59:24 -0000 1.26 +++ nss_engine_init.c 30 Oct 2006 19:24:23 -0000 @@ -142,7 +142,7 @@ SECStatus rv; SSLModConfigRec *mc = myModConfig(s); SSLSrvConfigRec *sc; - int forked = 0; + int threaded = 0; char cwd[PATH_MAX]; sc = mySrvConfig(s); @@ -207,8 +207,8 @@ ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "Initializing SSL Session Cache of size %d. SSL2 timeout = %d, SSL3/TLS timeout = %d.", mc->session_cache_size, mc->session_cache_timeout, mc->ssl3_session_cache_timeout); - ap_mpm_query(AP_MPMQ_IS_FORKED, &forked); - if (forked) + ap_mpm_query(AP_MPMQ_MAX_THREADS, &threaded); + if (!threaded) SSL_ConfigMPServerSIDCache(mc->session_cache_size, (PRUint32) mc->session_cache_timeout, (PRUint32) mc->ssl3_session_cache_timeout, NULL); else SSL_ConfigServerSessionIDCache(mc->session_cache_size, (PRUint32) mc->session_cache_timeout, (PRUint32) mc->ssl3_session_cache_timeout, NULL); Tested on Solaris 9 and Fedora Core 4. I should note that to run the threaded model of Apache run httpd.worker. Checked into tip. Checking in nss_engine_init.c; /cvs/dirsec/mod_nss/nss_engine_init.c,v <-- nss_engine_init.c new revision: 1.27; previous revision: 1.26 done This is fixed in fortitude-mod_nss 1.0.6-1 |