summaryrefslogtreecommitdiff
path: root/ext/session/mod_mm.c
Commit message (Collapse)AuthorAgeFilesLines
* Did not revert back enough.Sascha Schumann2002-03-061-3/+8
| | | | | | This patch does not make sense, because it enforces the existence of a single directory.
* Weep out all recent commits of Yasuo.Sascha Schumann2002-03-061-11/+3
| | | | | | | | | | | | | | | I don't have time right now to leave in the good ones and remove only the bad ones. There are some semantical changes which I reject, because they aim at fixing a bug which is at a completely other location. Then SID does not gefined anymore properly. (This broken patch has not been sent to me at all.) Also, there were *so* many whitespace changes which already make these commits bogus.
* Fixed typo :)Yasuo Ohgaki2002-03-061-1/+1
|
* Use static mm file save path. Now we can safely stop web server at start up ↵Yasuo Ohgaki2002-03-061-8/+6
| | | | when there is an error. Older mm uses static mm file path anyway.
* Make php start even with wrong save_path.Yasuo Ohgaki2002-03-061-5/+7
|
* Fixed crash with mm save handlerYasuo Ohgaki2002-03-051-1/+4
|
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* We need mm file for each user.Yasuo Ohgaki2002-01-251-5/+9
| | | | | | # GCI/CLI SAPI need this. It might be better to disable mm save handler # for CGI/CLI, though.
* Add sapi postfix for mm save path.Yasuo Ohgaki2002-01-251-8/+11
| | | | | | cli/cgi would not complain about mm save handler with this. # I'm really annoyed by mm save path problem...
* Fix startup crashYasuo Ohgaki2002-01-101-2/+4
| | | | | | | # Sascha, thanks for fixing poor patch :) # mm save handler does not work regardlress of # save path patch or not for some reason.
* Improved code for handling PS(save_path)Sascha Schumann2002-01-101-5/+16
| | | | | Don't MFH before further testing
* Ws fixSascha Schumann2002-01-101-5/+5
|
* Make use of save_path for mm file.Yasuo Ohgaki2002-01-101-2/+12
| | | | | | Patch by Henning Schmiedehausen <hps@intermeta.de> Closes bug 14808
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* * zend_module_entry change: apino, debug and zts are moved first,Stig Bakken2001-10-111-0/+2
| | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig)
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* Fix a serious long-standing bug which deleted the shared memory segmentSascha Schumann2001-07-191-48/+92
| | | | | | | | | | | | | | | when an Apache children died. Dynamically resize hash-table. The hash key is now stored as part of the hash entry structure which saves a mm_malloc. ps_sd_new has been restructured to avoid code duplication. A bug concerning moving existing entries to the top of a linked list has been fixed.
* Fix GC bug which did not increment the proper variable.Sascha Schumann2001-07-181-61/+73
| | | | | | | | | | | | Fix warning regarding the initial hash value. Use php_uint32 everywhere. Speedup linked-list traversal by using the hash value. Degrade linked-list to singledly linked-list. Allocate a new shared memory buffer, if the data does not fit into the current one. Prior to this change, we always allocated a new buffer. Fix debug prints to be compatible with non-GCC compilers. NUL-terminate string return values.
* Retire old hash algorithm and use the FNV-1 algorithm.Sascha Schumann2001-07-181-18/+11
|
* The extension name seems to be usually totally lower-cased.foobar2001-06-241-1/+1
|
* Fold a bit more codeRasmus Lerdorf2001-06-061-0/+10
|
* fix buggy debug statementsSascha Schumann2001-05-241-3/+3
|
* - Nuke GINITAndi Gutmans2001-05-231-5/+4
|
* add an interface for registering storage modules at run-time.Sascha Schumann2001-05-031-0/+1
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* No need for GCC extensions in non-debugging mode.Sascha Schumann2000-12-211-1/+1
| | | | | PR: #8345
* Add some additional checksSascha Schumann2000-11-031-4/+17
| | | | | Submitted by: mookid@sigent.ru (Mikhail Zabaluev)
* Fix implementation of hash algorithmSascha Schumann2000-11-031-1/+1
|
* Return SUCCESS from write handler, if vallen is 0.Sascha Schumann2000-09-291-3/+5
| | | | | | Submitted by: tcarroll@chc-chimes.com PR: #6958
* Unify use of my email addressSascha Schumann2000-07-101-1/+1
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* GC now prints out how many session objects were removedSascha Schumann2000-03-291-1/+4
|
* the pipe is breaking all the timeZeev Suraski2000-02-191-2/+2
|
* More cosmetic thingsSascha Schumann2000-02-111-33/+28
|
* Happy Y2K patch! Happy new year (or the new millennium, depending on whetherSascha Schumann2000-01-011-1/+1
| | | | | you start counting at 0 or 1).
* bail out, if ps_mm_instance wasn't initialized correctlySascha Schumann1999-09-041-0/+4
| | | | | (should take place in global startup)
* - add global startup/shutdown handlersSascha Schumann1999-09-031-12/+73
| | | | | | | | | | - improve genif.sh to also consider all header files for inclusion (checks for phpext_) - use vsnprintf in main.c to avoid buffer overflows - improve sessions's mm module to cope better with OOM situations within the shared memory segment - fix typo wrt session.auto_start
* - fix potential buffer problem in send_cookieSascha Schumann1999-08-271-0/+277
- fix gc probability algorithm - don't access mod_data directly - initial version of mm support for session data storage This works pretty good, but we need to create the initial mm pool from the parent process/thread. Still looking for a clean way to do that.