]> git.pld-linux.org Git - packages/apache.git/blame - httpd-2.0.46-shmcb.patch
- added IfModule for mod_setenvif and mod_headers
[packages/apache.git] / httpd-2.0.46-shmcb.patch
CommitLineData
0e467b1f
AM
1
2Use anonymous rather than name-based shm for shmcb.
3Name-based shm is overeager in use of _EXCL so causes
4startup failures after unclean shutdown; #80520.
5
6--- httpd-2.0.46/modules/ssl/ssl_scache_shmcb.c.shmcb
7+++ httpd-2.0.46/modules/ssl/ssl_scache_shmcb.c
8@@ -364,18 +364,9 @@
9 apr_size_t shm_segsize;
10 apr_status_t rv;
11
12- /*
13- * Create shared memory segment
14- */
15- if (mc->szSessionCacheDataFile == NULL) {
16- ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
17- "SSLSessionCache required");
18- ssl_die();
19- }
20-
21 if ((rv = apr_shm_create(&(mc->pSessionCacheDataMM),
22 mc->nSessionCacheDataSize,
23- mc->szSessionCacheDataFile,
24+ NULL,
25 mc->pPool)) != APR_SUCCESS) {
26 char buf[100];
27 ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
This page took 0.035456 seconds and 4 git commands to generate.