Projects
Eulaceura:Mainline:GA
hiredis
_service:obs_scm:Document-poll-2-logic-changes....
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:Document-poll-2-logic-changes.patch of Package hiredis
From f8dfdfbe051a678d8373fe286e736652060dc492 Mon Sep 17 00:00:00 2001 From: michael-grunder <michael.grunder@gmail.com> Date: Tue, 25 Jul 2023 10:38:00 -0700 Subject: [PATCH] Document poll(2) logic changes. See #1206, #1213 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 74364b411..c0fc2a1cc 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.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2