Commit Graph

24 Commits

Author SHA1 Message Date
michael-grunder
8443769dc3 Merge remote-tracking branch 'mobli/develop' into feature/mobli_ra_changes
Conflicts:
	redis_array.c
	redis_array_impl.c
	redis_array_impl.h
2013-08-11 11:29:29 -07:00
michael-grunder
3e6d5b60d6 Cutting a release for 2.2.3. Added myself as a maintainer
in the header files
2013-04-28 11:09:58 -07:00
Emmanuel Merali
acd3245456 Added lazy_connect option to RedisArray
Added an option to let each RedisArray connection connect lazily to
their respective server. This is useful then working with a redis
cluster composed of many shards which are not necessarily in use all at
once.
2013-02-25 00:38:47 +02:00
Emmanuel Merali
6d3c9990a5 Merged changes from @mobli
New select DB command to RedisArray - Added retry delay on reconnect

Added the possibility to delay each reconnection attempt, including a
random factor to prevent several or many concurrent connections from
trying to reconnect at the same time.
Added the select command to RedisArray to select a DB on every
connections in one instruction.
Also, fixed a compiler warning:
redis_array_impl.c:1115:15: warning: incompatible pointer types
assigning to 'zval **' (aka 'struct _zval_struct **') from 'zval
**(*)[2]' [-Wincompatible-pointer-types]

Conflicts:
	common.h
2013-02-22 09:35:22 -08:00
Emmanuel Merali
d4c7f64131 New select DB command to RedisArray - Added retry delay on reconnect
Added the possibility to delay each reconnection attempt, including a
random factor to prevent several or many concurrent connections from
trying to reconnect at the same time.
Added the select command to RedisArray to select a DB on every
connections in one instruction.
Also, fixed a compiler warning:
redis_array_impl.c:1115:15: warning: incompatible pointer types
assigning to 'zval **' (aka 'struct _zval_struct **') from 'zval
**(*)[2]' [-Wincompatible-pointer-types]
2013-01-29 11:47:36 +02:00
Emmanuel Merali
9ba000c54c Revert "Retry delay - selectDB on array"
This reverts commit 3fb643211e.
2013-01-29 11:40:06 +02:00
Emmanuel Merali
3fb643211e Retry delay - selectDB on array
Added the possibility to delay each reconnection attempt, including a
random factor to prevent several or many concurrent connections from
trying to reconnect at the same time.
Added the select command to RedisArray to select a DB on every
connections in one instruction.
2013-01-21 18:10:16 +02:00
Nicolas Favre-Felix
e8c3b13b68 Add 'database' parameter to Redis sessions
Fixes GitHub issue #235.
2012-08-28 22:01:52 +01:00
michael-grunder
22f455593a Add common.h to redis_session.c 2012-08-16 13:15:31 -07:00
Nicolas Favre-Felix
f3dff08cfa Fix host|file condition in session backend.
Should address #184. Adding a slash at the end would make phpredis
consider "/" as the path and ignore the host. Having a host name now
takes precedence over having a file name.
2012-07-09 21:47:54 +01:00
Nicolas Favre-Felix
73d99c3ec8 Added configure flag to disable sessions. 2011-06-25 23:09:09 +01:00
Nicolas Favre-Felix
265feef7aa Merge branch 'master' of https://github.com/Zakay/phpredis into Zakay-master 2011-06-12 19:28:55 +02:00
Nicolas Favre-Felix
d8de200634 Fix #10, AUTH with session handler. 2011-04-15 12:38:16 +02:00
Nicolas Favre-Felix
5a07edc292 Custom session prefix. 2011-03-06 17:24:34 +01:00
Zakay Danial
7713cc5b74 PHPredis session must send null and -1 as persistent_id and perisistent_id_len until persistent_id is implemented for phpredis sessions 2011-02-04 10:31:20 +01:00
Nicolas Favre-Felix
75775bfa80 Add persistence in session handler. 2011-01-14 11:35:51 +01:00
Nicolas Favre-Felix
2488c15c8e Add UNIX socket support in session handler. 2011-01-14 11:31:56 +01:00
Nicolas Favre-Felix
8a800a5289 Merge branch 'master' of https://github.com/Savar/phpredis 2010-12-15 14:59:41 +01:00
Nicolas Favre-Felix
98d44afbd0 Bugfixes in redis_session.c 2010-12-15 14:49:40 +01:00
Simon Effenberg
bb1bfd2718 fix some missing threaded parameters and added README info 2010-12-15 11:37:53 +01:00
Simon Effenberg
ab9a88ed4f added pconnect, has to be tested and checked 2010-12-15 09:44:35 +01:00
Simon Effenberg
d128b2437e fix missing TSRMLS_CC macro 2010-12-09 11:54:07 +01:00
Nicolas Favre-Felix
126812026d Bugfix and typo. 2010-12-03 09:56:16 +01:00
Nicolas Favre-Felix
4963a9aa2b New feature: PHP session handler. 2010-12-02 16:32:33 +01:00