This website requires JavaScript.
61b5b299f0
Use a windows specific keepalive function. (#1104 )
master
Michael Grunder
2022-09-03 12:39:57 -07:00
fce8abc1c1
Introduce .close method for redisContextFuncs
zhenwei pi
2022-08-30 11:44:01 +08:00
cfb6ca8811
Add REDIS_OPT_PREFER_UNSPEC (#1101 )
Michael Grunder
2022-09-02 09:57:18 -07:00
cc7c35ce60
Update documentation to explain redisConnectWithOptions.
michael-grunder
2022-09-01 15:50:19 -07:00
bc8d837b72
fix heap-buffer-overflow (#957 )
zhangtaoXT5
2022-09-02 04:45:28 +08:00
ca4a0e850b
uvadapter: reduce number of uv_poll_start calls
Anton Tiurin
2021-01-03 18:01:44 +00:00
35d398c903
Fix cmake config path on Linux. CMake config files were installed to /usr/local/share/hiredis
, which is not recognizable by find_package()
. I'm not sure why it was set that way. Given the commit introducing it is for Windows, I keep that behavior consistent there, but fix the rest.
Tongliang Liao
2021-10-06 01:08:28 +08:00
10c78c6e17
Add possibility to prefer IPv6, IPv4 or unspecified
Viktor Söderqvist
2022-09-01 12:04:59 +02:00
1abe0c8285
fuzzer: No alloc in redisFormatCommand() when fail
Björn Svensson
2022-09-01 15:32:53 +02:00
329eaf9bae
Fix heap-buffer-overflow issue in redisvFormatCommad
Björn Svensson
2022-09-01 13:47:54 +02:00
eaae7321c2
Polling adapter requires sockcompat.h
michael-grunder
2022-08-31 19:23:53 -07:00
0a5fa3ddee
Regression test for off-by-one parsing error
bugwz
2022-08-29 12:40:14 -07:00
9e174e8f7d
Add do while(0) protection for macros
Pei-Hsuan Hung
2021-06-04 11:33:39 +08:00
4ad99c69a2
Rework asSleep to be a generic millisleep function.
michael-grunder
2022-08-29 16:10:54 -07:00
75cb6c1ea6
Do store command timeout in the context for redisSetTimeout (#593 )
Arseniy Simonov
2021-10-03 15:06:40 +00:00
c57cad658d
CMake: remove dict.c form hiredis_sources
Lipraxde
2022-03-24 23:58:29 +08:00
8491a65a95
Add Github Actions CI workflow for hiredis: Arm, Arm64, 386, windows. (#943 )
Kristján Valur Jónsson
2022-08-29 21:30:08 +00:00
77e4f09ea8
Merge pull request #964 from afcidk/fix-createDoubleObject
Michael Grunder
2022-08-29 12:24:57 -07:00
9219f7e7c3
Merge pull request #901 from devnexen/illumos_test_fix
Michael Grunder
2022-08-29 11:35:13 -07:00
810cc6104c
Merge pull request #905 from sundb/master
Michael Grunder
2022-08-29 11:30:36 -07:00
df8b74d69e
Merge pull request #1091 from redis/ssl-error-ub-fix
Michael Grunder
2022-08-29 11:29:04 -07:00
0ed6cdec35
Fix some undefined behaviour
jengab
2021-06-08 08:34:23 +02:00
507a6dcaa5
Merge pull request #1090 from Nordix/subscribe-oom-error
Michael Grunder
2022-08-29 09:17:53 -07:00
b044eaa6a7
Copy error to redisAsyncContext when finding subscribe cb
Björn Svensson
2022-08-29 13:25:42 +02:00
e0200b797b
Merge pull request #1087 from redis/const-and-non-const-callback
Michael Grunder
2022-08-26 10:35:38 -07:00
6a3e96ad21
Maintain backward compatibiliy withour onConnect callback.
michael-grunder
2022-08-25 12:08:20 -07:00
e7afd998f9
Merge pull request #1079 from SukkaW/drop-macos-10.15-runner
Michael Grunder
2022-08-26 10:14:31 -07:00
17c8fe0798
Merge pull request #931 from kristjanvalur/pr2
Michael Grunder
2022-08-19 11:29:00 -07:00
b808c0c206
Merge pull request #1083 from chayim/ck-drafter
Michael Grunder
2022-08-17 12:22:33 -07:00
367a82bf02
Merge pull request #1085 from stanhu/ssl-improve-options-setting
Michael Grunder
2022-08-15 17:19:51 -07:00
71119a71d7
Make it possible to set SSL verify mode
Stan Hu
2022-08-10 09:30:24 -07:00
dd7979ac10
Merge pull request #1084 from stanhu/sh-improve-ssl-docs
Michael Grunder
2022-08-10 14:43:23 -07:00
c71116178b
Improve example for SSL initialization in README.md
Stan Hu
2022-08-10 00:38:33 -07:00
5c9b6b571e
Release drafter
Chayim I. Kirshen
2022-08-10 09:40:30 +03:00
a606ccf2a5
CI: use recommended vmactions/freebsd-vm@v0
Sukka
2022-08-05 17:07:18 +08:00
0865c115ba
Merge pull request #1080 from Nordix/readme-corrections
Michael Grunder
2022-08-04 09:18:26 -07:00
f6cee7142c
Fix README typos
Björn Svensson
2022-08-04 12:07:14 +02:00
06be7ff312
Merge pull request #1050 from smmir-cent/fix-cmake-version
Michael Grunder
2022-07-31 14:54:13 -07:00
7dd833d544
CI: bump macos runner version
SukkaW
2022-07-25 13:43:19 +08:00
f69fac7690
Drop const
on redisAsyncContext in redisConnectCallback Since the callback is now re-entrant, it can call apis such as redisAsyncDisconnect()
Kristján Valur Jónsson
2022-07-08 12:32:41 +00:00
005d7edebe
Support calling redisAsyncDisconnect from the onConnected callback, by deferring context deletion
Kristján Valur Jónsson
2021-04-20 16:16:09 +00:00
6ed060920f
Add async regression test for issue #931
Kristján Valur Jónsson
2022-07-08 11:38:57 +00:00
eaa2a7ee77
Merge pull request #932 from kristjanvalur/pr3
Michael Grunder
2022-07-07 11:43:19 -07:00
2ccef30f3e
Add regression test for issue #945
Kristján Valur Jónsson
2021-12-01 10:14:30 +00:00
4b901d44ad
Initial async tests
Kristján Valur Jónsson
2021-04-20 11:35:20 +00:00
31c91408ef
Polling adapter and example
Kristján Valur Jónsson
2021-03-27 14:19:07 +00:00
8a15f4d657
Merge pull request #1057 from orgads/static-name
Michael Grunder
2022-06-26 16:49:19 -07:00
902dd047fe
Merge pull request #1054 from kristjanvalur/pr08
Michael Grunder
2022-06-26 16:07:34 -07:00
c78d0926bf
Merge pull request #1074 from michael-grunder/kristjanvalur-pr4
Michael Grunder
2022-06-26 15:42:00 -07:00
2b115d56cd
Whitespace
michael-grunder
2022-06-26 14:42:31 -07:00
1343988cee
Fix typos
Kristján Valur Jónsson
2022-06-24 17:05:19 +00:00
47b57aa243
Add some documentation on connect/disconnect callbacks and command callbacks
Kristján Valur Jónsson
2021-03-31 09:24:44 +00:00
a890d9ce20
Merge pull request #1073 from michael-grunder/kristjanvalur-pr1
Michael Grunder
2022-06-26 14:23:12 -07:00
f246ee433d
Whitespace, style
michael-grunder
2022-06-26 14:14:58 -07:00
94c1985bde
Use correct type for getsockopt()
Kristján Valur Jónsson
2021-04-08 10:03:22 +00:00
5e002bc21c
Support failed async connects on windows.
Kristján Valur Jónsson
2021-03-26 14:40:32 +00:00
5d68ad2f48
Merge pull request #1072 from michael-grunder/fix-redis7-unit-tests
Michael Grunder
2022-06-26 12:18:54 -07:00
f4b6ed2898
Fix tests so they work for Redis 7.0
michael-grunder
2022-05-04 13:13:54 -07:00
95a0c1283a
Merge pull request #1058 from orgads/win64
Michael Grunder
2022-05-04 12:22:29 -07:00
eedb37a65d
Fix warnings on Win64
Orgad Shaneh
2022-03-30 09:10:21 +03:00
47c3ecefc0
Merge pull request #1062 from yossigo/fix-push-notification-order
Michael Grunder
2022-04-23 14:31:09 -07:00
e23d91c97b
Merge pull request #1061 from yossigo/update-redis-apt
Michael Grunder
2022-04-23 14:21:22 -07:00
34211ad542
Merge pull request #1063 from redis/fix-windows-tests
Michael Grunder
2022-04-23 13:40:10 -07:00
9957af7e3c
Whitelist hiredis repo path in cygwin
michael-grunder
2022-04-23 12:49:21 -07:00
b455b33818
Handle push notifications before or after reply.
Yossi Gottlieb
2022-04-22 15:35:55 +03:00
aed9ce4462
Use official repository for redis package.
Yossi Gottlieb
2022-04-22 15:20:04 +03:00
d7683f35aa
Merge pull request #1047 from Nordix/unsubscribe-handling
Michael Grunder
2022-04-05 13:00:54 -07:00
7c44a9d7ec
Merge pull request #1045 from Nordix/sds-updates
Michael Grunder
2022-04-05 12:55:25 -07:00
dd4bf97836
Use the same name for static and shared libraries
Orgad Shaneh
2022-03-29 17:16:19 +03:00
ff57c18b9e
Embed debug information in windows static lib, rather than create a .pdb file
Kristján Valur Jónsson
2022-03-24 12:52:15 +00:00
8310ad4f5c
fix cmake version
smmir-cent
2022-03-18 20:27:01 +00:00
7123b87f6d
Handle any pipelined unsubscribe in async
Björn Svensson
2022-02-02 23:29:59 +01:00
b6fb548fc6
Ignore pubsub replies without a channel/pattern
Björn Svensson
2022-02-02 22:42:23 +01:00
00b82683bb
Handle overflows as errors instead of asserting
Björn Svensson
2022-02-02 10:44:52 +01:00
64062a1d40
Catch size_t overflows in sds.c
Björn Svensson
2022-02-01 14:48:42 +01:00
066c6de79e
Use size_t/long to avoid truncation
Björn Svensson
2022-01-31 10:43:16 +01:00
f8de9a4bd4
Merge pull request #1046 from redis/rockylinux-ci
Michael Grunder
2022-02-01 09:10:30 -08:00
a41c9bc8b7
CentOS 8 is EOL, switch to RockyLinux
michael-grunder
2022-02-01 08:49:36 -08:00
be41ed60d7
Avoid incorrect call to the previous reply's callback (#1040 )
Bjorn Svensson
2022-01-28 03:30:58 +01:00
f2e8010d95
fix building on AIX and SunOS (#1031 )
Dietmar Scheidl
2022-01-18 07:35:31 +01:00
e73ab2f232
Add timeout support for libuv adapter (#1016 )
MichaelSuen
2022-01-19 02:59:18 +08:00
f2ce5980e6
Allow sending commands after sending an unsubscribe (#1036 )
Bjorn Svensson
2022-01-18 19:09:38 +01:00
ff860e55db
Correction for command timeout during pubsub (#1038 )
Bjorn Svensson
2022-01-11 19:19:43 +01:00
24d5344934
CMakeLists.txt: allow building without a C++ compiler (#872 )
Fabrice Fontaine
2022-01-09 03:57:13 +01:00
4ece9a02ed
Fix adapters/libevent.h compilation for 64-bit Windows (#937 )
Peter Tummillo
2022-01-05 10:43:51 -08:00
799edfaadf
Don't link with crypto libs if USE_SSL isn't set.
michael-grunder
2021-12-23 11:09:58 -08:00
f74b08182c
Makefile: move SSL options into a block and refine rules
zhenwei pi
2021-12-23 17:23:24 +08:00
f347743b7d
Update CMakeLists.txt for more portability (#1005 )
Eric Deng
2021-12-23 02:47:03 +08:00
f2be748024
Fix integer overflow when format command larger than 4GB (#1030 )
sundb
2021-12-23 02:45:52 +08:00
58aacdac65
Handle array response in parallell with pubsub using RESP3 (#1014 )
Bjorn Svensson
2021-12-22 19:44:29 +01:00
d3384260e7
Support PING while subscribing (RESP2) (#1027 )
Bjorn Svensson
2021-12-16 21:38:15 +01:00
e3a479e409
FreeBSD build fixes + CI (#1026 )
Michael Grunder
2021-12-16 12:36:05 -08:00
c6657ef65b
Merge branch 'redis:master' into master
sundb
2021-12-16 17:42:58 +08:00
da5a4ff362
Add asynchronous test for pubsub using RESP3 (#1012 )
Bjorn Svensson
2021-12-01 20:43:23 +01:00
b5716ee829
Valgrind returns error exit code when errors found (#1011 )
Bjorn Svensson
2021-11-25 08:09:23 +01:00
1aed21a8c5
Move to using make directly in Cygwin (#1020 )
Michael Grunder
2021-11-18 13:50:09 -08:00
a83f4b8905
Correct CMake warning for libevent adapter example
Björn Svensson
2021-08-16 14:06:53 +02:00
c4333203e3
Remove unused parameter warning in libev adapter
Björn Svensson
2021-08-16 13:45:33 +02:00
7ad38dc4a8
Small tweaks of the async tests
michael-grunder
2021-11-17 14:37:27 -08:00
50cdcab49d
Fix potential fault at createDoubleObject
Pei-Hsuan Hung
2021-06-14 10:32:44 +08:00