Hayden Zhou
af551bf2fb
fix missing symbol '@' ( #1532 )
2023-03-13 22:23:32 +08:00
Ostropik
b229f74743
Fix namespaces ( #1528 )
...
Co-authored-by: Ostropik <Dmytro.OSTROPITSKYI@ingenico.com>
2023-03-13 17:44:00 +08:00
An Tao
a039157587
Fix loading configuration on windows ( #1530 )
2023-03-12 18:47:21 +08:00
An Tao
97a5496fa4
Add queueInLoopCoro function ( #1526 )
2023-03-09 16:44:34 +08:00
Nitromelon
314bab0b4c
Add switchThreadCoro(). ( #1501 )
2023-03-09 12:13:51 +08:00
Martin Chang
ab5259b290
Add coroutine to wait until event loop ends ( #1500 )
2023-03-09 10:13:18 +08:00
Hayden Zhou
d4c0e063f1
Add support to yaml config file. ( #1521 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2023-03-09 00:17:11 +08:00
An Tao
57ec87d38d
Add an option in CMakeLists.txt to set how to use trantor ( #1520 )
2023-03-09 00:16:21 +08:00
An Tao
b739a7fab8
Update ConfigLoader.cc ( #1524 )
2023-03-07 17:01:23 +08:00
An Tao
394f9bd0d4
Add the stackLimit option for jsoncpp ( #1518 )
2023-03-01 10:49:25 +08:00
Nitromelon
bc028776f7
Refactor HttpServer codes. ( #1508 )
2023-02-28 10:19:26 +08:00
An Tao
d321bd4fc1
Fix a conan issue in github actions ( #1517 )
2023-02-27 14:30:38 +08:00
An Tao
313392a9b6
Add a configuration option to display local time in logs ( #1513 )
2023-02-19 23:04:25 +08:00
jinsongzhao
29955becc1
Fix multipart boundary with charset ( #1511 )
...
For example
Content-Type: multipart/form-data; boundary=TqmguJb_Fm_eFtAFCpWvmk5iPqrIEJJjvBFn; charset=ISO-8859-1
2023-02-18 19:35:58 +08:00
nitinanand-macrometa
54d96963f3
Use weakptr instead of shared_ptr ( #1504 )
...
Co-authored-by: Nitin Anand <gmail@an.andnit.in>
2023-02-12 21:47:20 +08:00
An Tao
ae9d5f20b3
Postgresql: don't handle events anymore after connection closing ( #1499 )
2023-02-04 20:06:15 +08:00
Martin Chang
7d87d7e0b2
Fix file r/w race condition in integration test ( #1496 )
2023-01-28 13:19:16 +08:00
Martin Chang
36d7435d1d
add coroutine parameter binding test and make tests not blocking ( #1493 )
2023-01-28 10:33:04 +08:00
Martin Chang
479346822f
reduce overhead of contructing string from request status ( #1494 )
2023-01-28 10:32:45 +08:00
An Tao
3adf168a87
Make the token bucket full when it is initialized ( #1489 )
2023-01-25 21:43:33 +08:00
An Tao
0b3147c157
Bump version to 1.8.3 ( #1485 )
2023-01-23 11:03:50 +08:00
Martin Chang
007a6ffbe3
partial fix for MSYS2 compat ( #1468 )
2023-01-18 16:01:56 +08:00
Nitromelon
554939d7ee
Fix error when PgListener task queue not empty ( #1478 )
...
* Fix error when task queue not empty.
* Update test, listen multiple channels.
2023-01-14 10:16:50 +08:00
Nitromelon
1618484d74
Support postgresql asynchronous notification (LISTEN/NOTIFY). ( #1464 )
2023-01-04 23:50:49 +08:00
Martin Chang
19f08786f0
mark awaiters as non copyable ( #1457 )
2022-12-18 15:12:32 +08:00
lldxflwb
80ea3c4f30
Fix a memory leak in the redis example ( #1447 )
2022-12-02 20:00:55 +08:00
interfector18
c5e596d942
Enable json entry as string ( #1440 )
2022-11-17 21:56:36 +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
Francesco Emanuele D'Agostino
1b11bfb668
add onSessionStart() and onSessionDestroy() events ( #1412 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2022-11-13 22:40:24 +08:00
Martin Chang
ef93c91ec7
Drogon test refactor ( #1437 )
2022-11-12 12:54:22 +08:00
Brecht Sanders
25ece89558
Update Utilities.cc ( #1436 )
...
Fix error when building with MinGW-w64:
```
lib/src/Utilities.cc:1226:28: error: external linkage required for symbol 'drogon::utils::internal::fixedRandomNumber' because of 'dllexport' attribute
```
`DROGON_EXPORT` is already specified in `lib/inc/drogon/utils/Utilities.h`, it doesn't need to be repeated in `lib/src/Utilities.cc` when defining `fixedRandomNumber`.
2022-11-12 10:43:02 +08:00
an-tao
31fa010ca9
Bump version to 1.8.2
2022-11-11 21:08:29 +08:00
An Tao
ab10d8cb22
Fix a dead lock bug when closing all database connections ( #1434 )
2022-11-11 09:57:18 +08:00
Martin Chang
c0d48da99f
Avoid HashDoS attacks via random per-session hash initial state ( #1433 )
2022-11-10 13:41:21 +08:00
an-tao
9dff8b296b
Update trantor
2022-11-09 22:49:34 +08:00
An Tao
990be54ea0
Add some test cases for the sqlite datetime type ( #1430 )
2022-11-06 17:49:59 +08:00
An Tao
6208332de3
Add the queueInLoopCoro function ( #1426 )
2022-11-04 17:23:14 +08:00
James
a8be56f9bb
Fix a date race in drogon_test. ( #1423 )
2022-11-03 22:32:56 +08:00
An Tao
164972e2d3
Add rate limiter ( #1409 )
2022-10-27 22:49:16 +08:00
Kushal-Chandar
37a10318ff
fix: typo in drogon_test.h ( #1419 )
2022-10-24 12:11:29 +08:00
an-tao
29c67565a3
Update trantor
2022-10-12 11:09:19 +08:00
An Tao
995b8e8b82
Set Hiredis_FOUND to true when finding Hiredis library ( #1406 )
2022-10-10 10:02:11 +08:00
khalilluo
89588959b1
supports the mediumint column when generate the mysql model ( #1393 )
2022-09-28 19:32:02 +08:00
an-tao
875bca0a86
Bump version to 1.8.1
2022-09-25 23:11:18 +08:00
An Tao
4d63475203
Add support for the string_view type to SqlBinder in orm ( #1391 )
2022-09-23 21:56:40 +08:00
Nitromelon
cdd48686ab
Small patches on orm_lib. ( #1388 )
2022-09-23 21:56:14 +08:00
An Tao
d3fe59432b
Use the mysql_library_end() function to avoid memory leaks ( #1387 )
2022-09-20 10:29:44 +08:00
Nitromelon
1c8580a71b
Remove redundant member functions of drogon::Task. ( #1381 )
2022-09-20 10:25:17 +08:00
khalilluo
c913441bb4
fixed model template file Unreachable code ( #1384 )
2022-09-16 17:54:01 +08:00
an-tao
302bb560b6
Update trantor
2022-09-15 12:50:05 +08:00