summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2023-07-25 10:38:00 -0700
committerMichael Grunder <michael.grunder@gmail.com>2023-07-25 11:15:04 -0700
commitbfe45d9f80ae5802fe3547ceccd03e1a66d41062 (patch)
tree7a5401b8cb164910b0f0c1f23f1fe18b48eec271 /README.md
parentaf95517612c209976352201f5f8f302bf9aef876 (diff)
Document poll(2) logic changes.
See #1206, #1213
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 74364b4..c0fc2a1 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,17 @@ Redis version >= 1.2.0.
The library comes with multiple APIs. There is the
*synchronous API*, the *asynchronous API* and the *reply parsing API*.
+## Upgrading to > 1.2.0 (**PRERELEASE**)
+
+* After v1.2.0 we modified how we invoke `poll(2)` to wait for connections to complete, such that we will now retry
+ the call if it is interrupted by a signal until:
+
+ a) The connection succeeds or fails.
+ b) The overall connection timeout is reached.
+
+ In previous versions, an interrupted `poll(2)` call would cause the connection to fail
+ with `c->err` set to `REDIS_ERR_IO` and `c->errstr` set to `poll(2): Interrupted system call`.
+
## Upgrading to `1.1.0`
Almost all users will simply need to recompile their applications against the newer version of hiredis.