aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/redis_pool.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3313 from arkamar/hiredisVsevolod Stakhov2020-04-241-5/+4
|\ | | | | Revert "[Fix] Fix hiredis stupidity" and use the hiredis api as intended
| * Revert "[Fix] Fix hiredis stupidity" and use the hiredis api as intendedPetr Vaněk2020-03-291-5/+4
| | | | | | | | This reverts commit b05b9bf904edce75c17e63982d5e0a82dd3e9064.
* | [Minor] Check socket error when reusing redis pool connectionsVsevolod Stakhov2020-03-311-5/+24
|/
* [Minor] Just another try to avoid raceVsevolod Stakhov2020-01-151-6/+11
|
* [Minor] Another try to fix raceVsevolod Stakhov2020-01-131-0/+1
|
* [Minor] Sigh - another try to avoid racesVsevolod Stakhov2020-01-131-4/+4
|
* [Feature] Send quit command to RedisVsevolod Stakhov2019-12-251-19/+62
|
* [Fix] Important hiredis fixesVsevolod Stakhov2019-10-221-1/+1
| | | | | | | | | Hiredis can return error in two ways: - ctx is NULL and this path is usually handled properly - ctx->err is not REDIS_OK and this path is totally missing in many places This change should fix the both cases.
* [Minor] Allow to close connection to redis without poolingVsevolod Stakhov2019-06-281-13/+27
| | | | Issue: #2796
* [Project] More reworkVsevolod Stakhov2019-06-221-12/+12
|
* [Project] First refactoring step libevent->libevVsevolod Stakhov2019-06-221-8/+8
|
* [CritFix] Plug memory leak in redis poolVsevolod Stakhov2018-10-081-11/+13
|
* [Minor] Fix event pending checksVsevolod Stakhov2018-10-061-1/+1
|
* [Project] Convert all C modules to fast debug infrastructureVsevolod Stakhov2018-01-201-2/+4
|
* [Minor] More g_slice cleanupsVsevolod Stakhov2017-10-281-6/+6
|
* [Minor] Reduce log noiseVsevolod Stakhov2017-04-171-1/+1
|
* [Minor] Fix various style issuesVsevolod Stakhov2017-03-231-1/+0
|
* [Minor] Add routine to convert redis reply type to stringVsevolod Stakhov2017-02-171-0/+31
| | | | Issue: #1228
* [Feature] Improve url redirector moduleVsevolod Stakhov2017-02-061-0/+1
| | | | | | | - Use HEAD instead of GET - Limit body length - Check for cached results before testing them on HTTP - Really limit number of nested queries
* [Minor] Add more sanity checks to redis poolVsevolod Stakhov2017-01-141-4/+3
|
* [Fix] Fix possible memory corruption in redis poolVsevolod Stakhov2017-01-121-5/+10
| | | | MFH: true
* [Fix] Plug termination memory leaksVsevolod Stakhov2017-01-101-2/+8
|
* [Fix] Support unix sockets for lua redisVsevolod Stakhov2016-12-301-1/+6
| | | | | Issue: #1277 Reported by: @athanp
* [Fix] Add additional check to mark redis connection inactiveVsevolod Stakhov2016-12-251-6/+13
|
* [Fix] Try to fix race condition in redis_poolVsevolod Stakhov2016-12-251-2/+8
|
* [Minor] Fix buildVsevolod Stakhov2016-11-201-1/+1
|
* [CritFix] Add guards for inactive redis connectionsVsevolod Stakhov2016-11-201-2/+6
|
* [Minor] Disable invalid unref for inactive connectionsVsevolod Stakhov2016-11-191-0/+2
|
* [CritFix] Cleanup inactive redis connectionsVsevolod Stakhov2016-11-191-0/+1
|
* [Minor] Add refcounts to the debug logVsevolod Stakhov2016-11-191-3/+4
|
* [Fix] Do not crash on redis errorsVsevolod Stakhov2016-11-181-0/+4
|
* [Minor] Reduce default redis_pool timeout to 10 secondsVsevolod Stakhov2016-11-011-1/+1
|
* [Fix] Handle failures for inactive pooled connectionsVsevolod Stakhov2016-09-081-3/+39
|
* [Fix] Treat all errors in redis_pool as fatal errors for a connectionVsevolod Stakhov2016-09-081-1/+1
|
* [Minor] Try to hunt issue with redis pool failuresVsevolod Stakhov2016-09-061-1/+3
|
* [Minor] Add logging support for redis poolVsevolod Stakhov2016-08-301-11/+42
|
* [Fix] Do not be cheated by system hiredisVsevolod Stakhov2016-08-301-3/+4
|
* [Minor] Various fixes in redis poolVsevolod Stakhov2016-08-301-22/+37
|
* [Feature] Add implementation of redis connections poolVsevolod Stakhov2016-08-301-0/+331