Commit Graph

24 Commits

Author SHA1 Message Date
Nitromelon 7f04e63f25
Coroutine handle should be captured by value. (#1631) 2023-06-06 22:29:48 +08:00
Greisberger Christophe 28518b7bba
Fix HttpController regex path matching (#1439)
* Fixed wrong controller method called on regex paths

* Fixed test executables not linking on Windows

* Fixed compilation conversion warnings with explicit casts
2022-11-17 21:56:12 +08:00
Nitromelon a1a0ef1af8
Support redis subscription (#1212) 2022-09-13 10:30:51 +08:00
An Tao c97125b22f
Fix a conflict of ssize_t type with hiredis (#1371) 2022-09-03 22:36:46 +08:00
An Tao ee9ca895c7
Fix some bugs in RedisClient (#1303) 2022-07-05 13:47:28 +08:00
An Tao 7af9853589
Clear all database connections before quitting (#1273) 2022-06-03 13:31:56 +08:00
Omar Mohamed Khallaf e8b21502e2
Add username option to redis databases (#1223)
The Redis AUTH command was extended in Redis 6, so now it is possible to
use it in the two-arguments form:
AUTH <username> <password>
and omitting the <username> defaults to user 'default'.
2022-04-30 00:48:18 +08:00
Nitromelon bccf509ca0
A workaround for redis sync exec (#1216) 2022-04-25 19:42:25 +08:00
Nitromelon 6971f84dae
Fix mutex lock missing. (#1214) 2022-04-14 16:52:04 +08:00
An Tao 3d3daef3c5
Fix a bug when stopping redis service (#1205) 2022-03-28 11:23:33 +08:00
Martin Chang 8913abc400
Mark all awaiters as nodiscard (#1098) 2021-12-01 08:40:09 +08:00
NitroMelon c9f98e1bf3
Return on redis connection error. (#1030) 2021-09-25 00:03:23 +08:00
Philip Kovacs a70a2844b1
Fix compiler warnings (#886)
Co-authored-by: an-tao <antao2002@gmail.com>
Co-authored-by: Martin Chang <marty1885@users.noreply.github.com>
2021-06-09 19:14:15 +08:00
Martin Chang 0b5075bfa9
Drogon test framework (#869) 2021-05-27 20:09:57 +08:00
An Tao 36fb3b3a40
Fix a bug when a network failure occurs on Redis connections. (#868) 2021-05-25 08:33:53 +08:00
An Tao 63738bd578
Fix [-Werror=reorder] (#852) 2021-05-15 14:09:24 +08:00
陈晓林 e478b63dda
Add support 'select <db>' for redis (#847)
Co-authored-by: an-tao <antao2002@gmail.com>
2021-05-12 18:32:49 +08:00
An Tao 471488eef1
Use two-phase construction for the DbClientImpl and the RedisClientImpl (#844) 2021-05-10 08:31:21 +08:00
An Tao f99c72bd5b
Fix an error when constructing RedisClientImpl objects (#840) 2021-05-05 09:51:04 +08:00
An Tao 51814b76da
Add the setTimeout() method to the ReidsClient class (#830) 2021-04-30 08:00:11 +08:00
An Tao ab5eb955b4
Fix unused parameter errors/warnings (#805) 2021-04-15 23:26:58 +08:00
Bertrand Darbon 44a8a2d5f7
Add GNU -Werror & fix warnings (#801) 2021-04-15 19:27:15 +08:00
Bertrand Darbon 54727a5dbe
Add exports macro to allow Shared Library with hidden symbols by default (e.g. Windows) (#745)
Co-authored-by: an-tao <antao2002@gmail.com>
2021-04-09 10:17:28 +08:00
An Tao 6d9aa3b44c
Add redis support (#719) 2021-03-13 19:13:54 +08:00