summaryrefslogtreecommitdiffstats
path: root/modules/slotmem (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix valgrind warnings about uninitialized memory in syscall argumentsStefan Fritsch2013-02-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442309 13f79535-47bb-0310-9956-ffa450edef68
* Fix mistaken reset of num_free with restored shmJim Jagielski2013-01-091-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1430869 13f79535-47bb-0310-9956-ffa450edef68
* Fix various clone/edit and search/replace errorsGregg Lewis Smith2012-12-122-4/+4
| | | | | | | | in MSVC project files git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420975 13f79535-47bb-0310-9956-ffa450edef68
* Replace duplicate log tagsStefan Fritsch2012-11-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1406068 13f79535-47bb-0310-9956-ffa450edef68
* axe unused variableJeff Trawick2012-09-211-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1388445 13f79535-47bb-0310-9956-ffa450edef68
* Whoups?!Guenter Knauf2012-09-191-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1387389 13f79535-47bb-0310-9956-ffa450edef68
* Add in new type CLEARINUSE which allows the inuse table toJim Jagielski2012-09-181-2/+25
| | | | | | | | be cleared upon storage. This may be expected/wanted/required by some applications git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1387088 13f79535-47bb-0310-9956-ffa450edef68
* Use our private function and just allow for conditonalJim Jagielski2012-09-181-11/+14
| | | | | | | concat of .persist suffix git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1387085 13f79535-47bb-0310-9956-ffa450edef68
* Allow for a forced grab of a slotmem slot.Jim Jagielski2012-09-182-7/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1386880 13f79535-47bb-0310-9956-ffa450edef68
* More consistent return errors...Jim Jagielski2012-09-171-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1386822 13f79535-47bb-0310-9956-ffa450edef68
* Add debug output when slotmem is persisting shmJim Jagielski2012-09-171-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1386726 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build tweaks.Guenter Knauf2012-08-092-2/+2
| | | | | | | | | Make more use of internal makefile macros; axed now obsolete include paths. Submitted by: normw gknw net. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371177 13f79535-47bb-0310-9956-ffa450edef68
* mod_slotmem_plain: make the "filename" key relative toJeff Trawick2012-08-081-2/+2
| | | | | | | | | | | DefaultRuntimeDir if not absolute mod_slotmem_plain does not externalize or check the full path in any way, so this change is just for consistency with other modules which build paths to run-time artifacts. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1370763 13f79535-47bb-0310-9956-ffa450edef68
* fixup for r1331110: pass correct argumentStefan Fritsch2012-04-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331113 13f79535-47bb-0310-9956-ffa450edef68
* Replace use of apr_file_write() with apr_file_write_full() to preventStefan Fritsch2012-04-261-1/+2
| | | | | | | | | | | | incomplete writes. Add comments in some places where error handling/logging is missing. PR: 53131. Submitted by: Nicolas Viennot <apache viennot biz>, Stefan Fritsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331110 13f79535-47bb-0310-9956-ffa450edef68
* Use new ap_runtime_dir_relative() APIJim Jagielski2012-03-081-9/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1298433 13f79535-47bb-0310-9956-ffa450edef68
* Allow for DEFAULT_REL_RUNTIMEDIR ala socache... prevent perm issuesJim Jagielski2012-03-061-24/+18
| | | | | | with some configs git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1297560 13f79535-47bb-0310-9956-ffa450edef68
* Add a bit of debug loggingStefan Fritsch2012-01-021-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1226375 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused variableStefan Fritsch2011-12-071-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211637 13f79535-47bb-0310-9956-ffa450edef68
* mod_slotmem_shm: Remove the colon syntax to indicate a relative path, andGraham Leggett2011-12-041-18/+14
| | | | | | | | make the relative path default behaviour. Remove the word "anonymous" as a filename for special treatment, what used to be "anonymous" is now "none". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1210261 13f79535-47bb-0310-9956-ffa450edef68
* Change the provider names to match the module names:Stefan Fritsch2011-12-041-1/+1
| | | | | | | | mod_slotmem_shm: shared -> shm mod_socache_memcache: mc -> memcache git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1210221 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-231-1/+1
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
* fix def'n of AP_SLOTMEM_PROVIDER_VERSION, use itJeff Trawick2011-07-142-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1146737 13f79535-47bb-0310-9956-ffa450edef68
* adjustments of build priorities of modules without special dependenciesStefan Fritsch2011-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all -> most: - mod_sed reallyall -> most: - mod_log_debug reallyall -> all: - mod_dav_lock - mod_echo - mod_charset_lite - mod_slotmem_plain - mod_dialup few -> all: - mod_data - mod_reflector - mod_asis most -> all: - mod_heartbeat - mod_heartmonitor - mod_watchdog most -> reallyall: - mod_imagemap - mod_cern_meta - mod_ident See thread at http://mail-archives.apache.org/mod_mbox/httpd-dev/201107.mbox/%3C201107052321.56063.sf@sfritsch.de%3E git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1146227 13f79535-47bb-0310-9956-ffa450edef68
* No mo subpoolJim Jagielski2011-06-171-10/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1136947 13f79535-47bb-0310-9956-ffa450edef68
* More cleanups at cleanup... move to using pconf and then removeJim Jagielski2011-04-011-10/+16
| | | | | | any file-based shms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087862 13f79535-47bb-0310-9956-ffa450edef68
* wrong stashJim Jagielski2011-04-011-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087677 13f79535-47bb-0310-9956-ffa450edef68
* Don't kill me mister...Jim Jagielski2011-03-311-8/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087333 13f79535-47bb-0310-9956-ffa450edef68
* Use a var INSTALLBASE to simplify NetWare installation rules.Guenter Knauf2011-03-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082821 13f79535-47bb-0310-9956-ffa450edef68
* Use var for prelude so its possible to change it at one place.Guenter Knauf2011-03-182-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082811 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.Guenter Knauf2011-03-082-4/+4
| | | | | | | Removed absolute paths to imp files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1079487 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.Guenter Knauf2011-03-083-19/+19
| | | | | | | Take 1. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1079407 13f79535-47bb-0310-9956-ffa450edef68
* Use ap_state_query() to fix many modules that were not correctly initializingStefan Fritsch2011-02-121-13/+0
| | | | | | | | | if they were not active during server startup but got enabled later during a graceful restart (in which case they need to do all work during a single config run). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070153 13f79535-47bb-0310-9956-ffa450edef68
* * Fix syntax errors and a non existing variable.Ruediger Pluem2011-02-091-2/+2
| | | | | | | | | Submitted by: NormW <normw gknw.net> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1068784 13f79535-47bb-0310-9956-ffa450edef68
* Only persist if we want it toJim Jagielski2011-02-071-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1068072 13f79535-47bb-0310-9956-ffa450edef68
* OK, use faster, shared version... makes sense to persist thisJim Jagielski2011-02-071-13/+32
| | | | | | info since it is aligned with the actual data itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1068066 13f79535-47bb-0310-9956-ffa450edef68
* Save this for later to be done... recall that .free needs toJim Jagielski2011-02-071-20/+7
| | | | | | exist in shm... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1068019 13f79535-47bb-0310-9956-ffa450edef68
* Slotmem now provides for the number of "free" slotsJim Jagielski2011-02-072-7/+45
| | | | | | available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1068018 13f79535-47bb-0310-9956-ffa450edef68
* Added mod_slotmem*.dsp files forgotten with commit r1063507.Guenter Knauf2011-01-262-0/+222
| | | | | | | Submitted by Gregg L. Smith - gregg AT apachehaus.com. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1063902 13f79535-47bb-0310-9956-ffa450edef68
* arith on void* is not goodJim Jagielski2011-01-212-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1061874 13f79535-47bb-0310-9956-ffa450edef68
* Increase memory alignment for slotmem data inRainer Jung2011-01-171-5/+7
| | | | | | | | | | | | | | mod_slotmem_shm. Consumers still need to choose the slot sizes appropriate for consistent alignment. mod_slotmem_shm only cares about the alignment for the first slot. We use the APR default alignment. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1060108 13f79535-47bb-0310-9956-ffa450edef68
* Added NetWare makefiles for slotmem modules.Guenter Knauf2011-01-153-0/+746
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059221 13f79535-47bb-0310-9956-ffa450edef68
* revert... Jim Jagielski2011-01-111-55/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1057748 13f79535-47bb-0310-9956-ffa450edef68
* whitespaceJim Jagielski2011-01-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1056331 13f79535-47bb-0310-9956-ffa450edef68
* Use consistant naming and be sure to padJim Jagielski2011-01-071-46/+56
| | | | | | | all shm size slots, due to char* and void* adjustments... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1056330 13f79535-47bb-0310-9956-ffa450edef68
* Fix 'comparison of unsigned expression < 0 is always false' warning.Stefan Fritsch2010-11-181-1/+1
| | | | | | | (There was no actual problem as id is never set to a negative value.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1036606 13f79535-47bb-0310-9956-ffa450edef68
* Allow for non-persist of shared memJim Jagielski2010-09-271-27/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001831 13f79535-47bb-0310-9956-ffa450edef68
* No leakieJim Jagielski2010-09-271-4/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001819 13f79535-47bb-0310-9956-ffa450edef68
* Avoid potential segfault (found by clang/scan-build).Stefan Fritsch2010-09-271-6/+11
| | | | | | | This is r791409 from mod_slotmem_shm.c applied to mod_slotmem_plain.c git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001755 13f79535-47bb-0310-9956-ffa450edef68
* remove more unused variablesStefan Fritsch2010-08-041-2/+1
| | | | | | | | | revove some obsolete comments netware file is untested git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982050 13f79535-47bb-0310-9956-ffa450edef68