132 Commits

Author SHA1 Message Date
Will Fitch 57cd6c8ce5 Fixed invalid long -> size_t in params 2016-02-26 10:34:32 -05:00
Szabolcs Balogh c736f39008 fix striped return of mmc_get_version 2015-11-12 12:37:04 +01:00
Szabolcs Balogh f0c2220e31 preferred use of ZSTR_VAL and ZSTR_LEN 2015-11-12 12:33:41 +01:00
Szabolcs Balogh a84ae6dd22 *printf format fix for ZEND_LONG_FMT 2015-11-12 12:25:34 +01:00
Szabolcs Balogh 06d290d1e4 memset(, 0,) -> ZEND_SECURE_ZERO 2015-11-11 14:24:26 +01:00
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 893754ff98 use ZEND_STRTOL instead of strtol 2015-11-10 17:18:00 +01:00
Szabolcs Balogh 054746a4b1 Fix memcache->get() with flags test (tests/047.phpt) 2015-11-10 13:44:00 +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 0bd238aadd Reverted to revision 327543. Memory leaks. 2012-09-23 01:47:59 +00:00
Xinchen Hui ab6e48c952 Fixed bug #62995 (memcache client Segmentation fault)
Need be reviewed by the author later
2012-09-08 15:46:43 +00:00
Lars Strojny 5cd6c86aac PHP 5.4 compatibility 2011-11-20 18:50:38 +00:00
Pierre Joye 05797e1067 - #17130, Uninitialized tv.tv_usec (not relevent for non blocking branch) 2010-03-26 20:45:52 +00:00
Herman Radtke 7d669524ca Fixed pecl bug #16536 (Weight of 0 causes SegFault on memcache_add_server) 2010-03-24 14:48:01 +00:00
Felipe Pena 7865dcf189 - Fix build 2009-04-15 11:47:27 +00:00
Pierre Joye 601473ef63 - correct include 2009-04-08 08:26:49 +00:00
Pierre Joye df60aac4b7 - silent warning 2009-04-08 08:24:03 +00:00
Mikael Johansson d895787a99 Fixed PECL request #13758 (Failed to extract 'connection' variable from object) 2009-01-15 18:15:50 +00:00
Mikael Johansson d48240849c Improved performance of consistent hash strategy
Reverted ssprintf() simplification because %s is not binary safe (values might contain \0)
Fixed compiler warnings in setoptimeout()
2009-01-15 18:11:41 +00:00
Antony Dovgal 44e55933f5 fix ws & cs
cosmetical changes only
2008-12-16 09:17:17 +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
Antony Dovgal 8f933d35da note to self: test before commit 2008-10-25 21:41:34 +00:00
Antony Dovgal d8aed18e14 use spprintf() to simplify the code 2008-09-25 16:18:21 +00:00
Mikael Johansson c9c414b2b2 Don't fail the server if unserialize/uncompress fail but rather return false 2008-09-11 19:40:06 +00:00
Antony Dovgal d18be600c7 allocate/free mmc->error using proper functions 2008-08-19 07:26:31 +00:00
Antony Dovgal bafb4f5ad7 update my email address (sorry for the noise..) 2008-08-16 10:15:54 +00:00
Antony Dovgal f5679be428 mmc is uninitialized at this point
also compress failure is not really a server error IMO
2008-07-08 09:58:52 +00:00
Mikael Johansson 1a6f1b803d Fixed PECL bug #14239 (Memcache::set() modifies value parameter) 2008-06-25 20:27:07 +00:00
Mikael Johansson 1775c79c13 Fixed Bug #13343 (compilation breaks with CodeWarrior compiler) 2008-03-17 19:05:03 +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
Antony Dovgal 62cee05613 add extension version both to the module struct and phpinfo() output 2008-02-05 13:31:56 +00:00
Mikael Johansson a280d8d3e8 Fixed PECL bug #12883 (Breaks UTF-8 in keys) 2008-01-11 21:34:13 +00:00
Mikael Johansson 7b2f6fa7ba Changed behaviour of close() to actually remove all servers from pool (PECL bug #12555)
Prepare for release 2.2.2
2008-01-10 18:29:57 +00:00
Mikael Johansson e6d5c0d892 Fixed problem with unserialize and duplicate values 2008-01-09 20:06:49 +00:00
Mikael Johansson a8df7c92cd Fixed Bug #12494 Segmentation fault when Exception thrown in the callback function 2007-11-21 20:01:57 +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 74f599ab69 Fixed PECL bug 11369 ("nested" get calls in __wakeup() functions breaks)
Fixed incompatibility with standard hash strategy in previous versions
2007-10-17 18:52:02 +00:00
Antony Dovgal 684d1b1722 return false if an empty array of keys was passed to memcache_get() 2007-10-11 16:24:26 +00:00
Mikael Johansson e565973cc0 Updated failure callback test to include new errstr and errnum parameters 2007-09-23 12:49:05 +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
Antony Dovgal f685bca500 fix PECL bug #11221 (Double free when returning cached object with __sleep) 2007-06-04 19:39:59 +00:00
Mikael Johansson ae9d2fbf79 Don't failover on "object to large" errors 2007-05-24 16:57:08 +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