48 Commits

Author SHA1 Message Date
Szabolcs Balogh
51abce26e7 TSRMLS_* removal 2015-11-11 14:23:30 +01:00
Szabolcs Balogh
295bfb0198 ZPP: long -> zend_long 2015-11-11 14:15:11 +01:00
Szabolcs Balogh
c87caadaa2 ZPP: char*/int -> zend_string 2015-11-11 14:14:08 +01:00
Szabolcs Balogh
15353530a4 mmc_prepare_key_ex: use zend_string instead of char*/int 2015-11-11 14:11:36 +01:00
Szabolcs Balogh
005a35cde8 php7 port 2015-11-10 00:51:09 +01:00
Herman Radtke
ff0dd92d53 Fix Bug #63272 - Explicitly reserve range of flags in php_memcache.h so application code can use 2012-11-04 19:34:04 +00:00
Herman Radtke
2bcc31f921 Release 2.2.7 2012-09-23 01:52:18 +00:00
Rasmus Lerdorf
cbd6122529 I think this is what lstrojny meant here 2012-03-01 00:04:17 +00:00
Lars Strojny
5cd6c86aac PHP 5.4 compatibility 2011-11-20 18:50:38 +00:00
Mikael Johansson
7479cc3c68 Preparations for release 2.2.5 2009-02-27 17:46:23 +00:00
Mikael Johansson
d895787a99 Fixed PECL request #13758 (Failed to extract 'connection' variable from object) 2009-01-15 18:15:50 +00:00
Rasmus Lerdorf
2f67af32fb Add setoptimeout - Sets the timeout, in milliseconds, for subsequent
operations on all open connections (Rasmus, John Jawed)
2008-12-15 22:46:11 +00:00
Antony Dovgal
77005ee795 5_3 compatibility 2008-10-25 21:43:16 +00:00
Mikael Johansson
321fb38a05 Prepare for release 2.2.4 2008-09-11 19:59:30 +00:00
Antony Dovgal
bafb4f5ad7 update my email address (sorry for the noise..) 2008-08-16 10:15:54 +00:00
Steph Fox
bbe8d45b27 - Bring the majority of PECL extensions into line with macro/x.x.x versioning.
- Please use the -dev tag during the development cycle so that snapshots can easily be distinguished from releases.
2008-03-31 09:57:28 +00:00
Mikael Johansson
9d28b786e9 Added automatic package version replacement via pear packager/installer
Prepare for release 2.2.3
2008-02-05 19:46:16 +00:00
Mikael Johansson
303ceb1185 Fixed problem with keys being modified in-place by some methods 2007-11-01 14:01:38 +00:00
Mikael Johansson
715af3e12b Added argument to Memcache::get() that receives the flags for retrieved value(s) 2007-10-17 19:20:14 +00:00
Mikael Johansson
6da305d176 Improved error handling and reporting 2007-09-23 11:37:19 +00:00
Mikael Johansson
6d0fe595d5 Merged hash function abstraction from branch
Made consistent hashing implementation failover compatible with branch
2007-09-02 10:48:13 +00:00
Mikael Johansson
aa1260dfd3 Fixed return type of hash strategy free_state 2007-05-01 14:15:20 +00:00
Mikael Johansson
82117c23a6 Consistent hashing support using CRC32("server:port")
memcache.hash_strategy INI directive
2007-05-01 10:25:49 +00:00
Mikael Johansson
076f27a956 Fixed PHP6 build 2007-05-01 08:52:53 +00:00
Antony Dovgal
17b7899986 add primitive recursion protection 2007-03-06 18:27:18 +00:00
Antony Dovgal
32aaa2e9a2 update copyright years 2007-02-07 11:27:24 +00:00
Antony Dovgal
ba09dadb04 improve session support by using PHP_ADD_EXTENSION_DEP() macro, when possible.
this makes it possible to disable session support and also memcache's ./configure
will fail gracefully if you enable it, but ext/session is missing.
2006-11-15 21:05:03 +00:00
Mikael Johansson
f48b954c63 Renamed session.c to memcache_session.c to avoid confusion with ext/session/session.c
Check for ext/session/php_session.h support using AC_CHECK_HEADERS
2006-10-27 10:13:03 +00:00
Mikael Johansson
b4eacbcc90 Session save handler implementation
session.save_handler = memcache
  session.save_path = "tcp://host:port?persistent=1&weight=2&timeout=2&retry_interval=15,tcp://host2:port2"
Refactorings to support the session handler
Optimizations to reduce the number of malloc's
Use --enable-debug in config.m4 to set -Wall flag
Fixed some compiler warnings about const and unsigned pointers
2006-10-26 23:27:35 +00:00
Antony Dovgal
cf5c893c67 add memcache.max_failover_attempts 2006-10-03 10:09:27 +00:00
Mikael Johansson
ef88d4779a Statistics methods support fetching other kinds of stats (slabs, items, cachedump, ...)
Updated SKIPIF in some unit tests
2006-08-04 09:10:01 +00:00
Mikael Johansson
6e3b9dbd77 Servers may be flagged up/down and the user may specify a error callback
Individual server params and up/down status may be changed at runtime
New methods: setServerParams(), getServerStatus()
Fixed problem with multiple free()'s on persistent connection failure
2006-08-02 10:47:25 +00:00
Antony Dovgal
07e2f7c451 .. and its prototype 2006-05-16 16:18:39 +00:00
Mikael Johansson
1f172e0ccf Redefined retry_interval as long to fix no-automatic-reconnect behaviour
Preparations for release 2.0.4
2006-05-16 14:54:32 +00:00
Mikael Johansson
b1aa4f6087 Moved "memcache.allow_failover" and "memcache.chunk_size" ini directives into MODULE_GLOBALS
Changed ini directives to STD_PHP_INI_ENTRY and added input validation
2006-04-28 09:55:48 +00:00
Mikael Johansson
705df32995 Setting retry_interval parameter to -1 will disable automatic reconnect of failed server 2006-02-06 19:48:20 +00:00
Mikael Johansson
35d7cef3d0 Added "memcache.default_port" ini directive (default 11211)
Renamed "memcache.failover" directive to more intuitive "memcache.allow_failover"
2006-02-05 13:04:40 +00:00
Antony Dovgal
8ebddfd087 hopefully fix PECL bug #6460 2006-01-11 12:47:32 +00:00
Mikael Johansson
2bbcb4b123 _mmc_open() used "err" uninitialized under PHP4
memcache_add_server() parses a "zend_bool persistent"
mmc_read_value() with empty response caused dangling pointer
Added regexp to some unit tests for the sake of PHP4 compat
2005-11-28 22:03:35 +00:00
Mikael Johansson
edc0feab2c Multiple servers and failover support
Automatic compress threshold
+3 new methods: memcache->addServer(), getExtendedStats(), setCompressThreshold()
2005-10-29 14:24:50 +00:00
Antony Dovgal
383e4f60bf add memcache_flush() function 2004-04-07 12:58:05 +00:00
Frank M. Kromann
1cb5049549 Fix win32 compilation 2004-03-11 17:41:37 +00:00
Antony Dovgal
05019ab4df remove MEMCACHE_SERIALIZED constant, it's supposed to be used only internally
add zlib compression support (needs testing!)
fix some possible problems..
2004-03-04 13:48:49 +00:00
Antony Dovgal
2b595a7275 add persistent connections support
fixed a couple of memory leaks
2004-03-01 06:46:03 +00:00
Antony Dovgal
9107aebc7f 1) added memcache_close()
2) all functions were rewritten to support procedural interface
3) some minor improvements
2004-02-27 15:08:38 +00:00
Antony Dovgal
9a4edec893 +2 new methods: memcache->increment() & memcache->decrement()
-2 unused variables
*keys are now processed to keep syntax rules
2004-02-25 11:07:19 +00:00
Antony Dovgal
85456a8e6e add new method - getStats(); 2004-02-17 11:53:34 +00:00
Antony Dovgal
b40c8d8afe Initial import 2004-02-11 16:06:39 +00:00