Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2019-11-04 18:17:01 +0300
committerMichael Grunder <michael.grunder@gmail.com>2019-11-05 04:21:55 +0300
commit2bae8010507c1f48d456b93c700671b21b3b29a4 (patch)
treefd5551071db8c9c26f0a4ad9499abacde0197e4f /README.markdown
parent6bdcd6dfbab3f5143e97dc9a0a61295bfe182efc (diff)
Issue #1664
In PR #1602 we decided to use unsigned short for storing RedisSock->port but in previous release I reverted that change. In this PR I changed signatire of redis_sock_create to prevent unneccecary convertion of types.
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown2
1 files changed, 0 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 00a60cc6..e1b467e4 100644
--- a/README.markdown
+++ b/README.markdown
@@ -204,7 +204,6 @@ $redis->connect('tls://127.0.0.1'); // enable transport level security, port 637
$redis->connect('127.0.0.1', 6379, 2.5); // 2.5 sec timeout.
$redis->connect('/tmp/redis.sock'); // unix domain socket.
$redis->connect('127.0.0.1', 6379, 1, NULL, 100); // 1 sec timeout, 100ms delay between reconnection attempts.
-$redis->connect('unix://redis.sock'); // relative path to unix domain socket requires version 5.0.0 or higher.
~~~
### pconnect, popen
@@ -246,7 +245,6 @@ $redis->pconnect('tls://127.0.0.1'); // enable transport level security, port 63
$redis->pconnect('127.0.0.1', 6379, 2.5); // 2.5 sec timeout and would be another connection than the two before.
$redis->pconnect('127.0.0.1', 6379, 2.5, 'x'); // x is sent as persistent_id and would be another connection than the three before.
$redis->pconnect('/tmp/redis.sock'); // unix domain socket - would be another connection than the four before.
-$redis->pconnect('unix://redis.sock'); // relative path to unix domain socket requires version 5.0.0 or higher.
~~~
### auth