An Tao
65b1715539
Add the DROGON_EXPORT macro to the GlobalFilters plugin ( #1565 )
2023-04-16 13:42:46 +08:00
an-tao
4358b71f55
Add filters and plugins to the drogon.h header file
2023-04-16 12:15:27 +08:00
An Tao
c7912f246b
Add the GlobalFilters plugin ( #1555 )
2023-04-16 11:55:00 +08:00
An Tao
d133b21804
Modify the HttpMessageBody class ( #1564 )
2023-04-16 11:54:11 +08:00
An Tao
ad2798e4aa
Adapt to gcc13 ( #1563 )
2023-04-16 09:30:37 +08:00
Martin Chang
122a42cd4f
Adapt Drogon to take advitange of Trantor TLS refactor ( #1505 )
...
Co-authored-by: marty1885 <marty1885@gmail.com>
2023-03-30 23:14:53 +08:00
An Tao
120aaf249d
Remove the deprecated Json::Reader ( #1546 )
2023-03-26 17:03:19 +08:00
Nitromelon
f0a011b14d
Use syncAdvices.empty() to check. ( #1545 )
2023-03-25 17:37:33 +08:00
Nitromelon
4f066258f2
Temporary fix dead HttpClient. ( #1542 )
2023-03-21 14:51:37 +08:00
Martin Chang
c63b021e7d
Hold shared pointer from the very beginning ( #1537 )
2023-03-18 18:38:55 +08:00
Martin Chang
2af8e47278
Trigger error message in drogon test when faced with bad parameter ( #1495 )
2023-03-14 22:43:50 +08:00
Nitin Anand
00debb056b
Changes to free http client if no request is pending ( #1529 )
2023-03-14 22:41:52 +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
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
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
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
Martin Chang
007a6ffbe3
partial fix for MSYS2 compat ( #1468 )
2023-01-18 16:01:56 +08:00
Martin Chang
19f08786f0
mark awaiters as non copyable ( #1457 )
2022-12-18 15:12:32 +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
Martin Chang
c0d48da99f
Avoid HashDoS attacks via random per-session hash initial state ( #1433 )
2022-11-10 13:41:21 +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
Nitromelon
1c8580a71b
Remove redundant member functions of drogon::Task. ( #1381 )
2022-09-20 10:25:17 +08:00
An Tao
6a397efefe
Fix a test bug when clients start before servers ( #1376 )
2022-09-09 01:32:01 +08:00
An Tao
94c4f27d61
Set the running flag to false after calling the quit() method ( #1363 )
2022-08-27 01:37:08 +08:00
An Tao
29b33a7fa0
Export the getVersion method for Windows ( #1362 )
2022-08-25 23:35:56 +08:00
An Tao
c40bb2bc1f
Fix a bug when parsing multipart/form-data ( #1358 )
2022-08-25 23:04:23 +08:00
An Tao
f582a16adb
Fix a bug when converting the content-length string to size_t ( #1355 )
2022-08-19 14:20:37 +08:00
Ken Matsui
64b9484657
Use nullopt instead of the no-argument constructor ( #1344 )
2022-08-19 13:48:48 +08:00
Ken Matsui
2465753ee9
Refactor db_test.cc ( #1346 )
2022-08-19 12:22:13 +08:00
Nitromelon
bd9d290b82
Support coroutine filter. ( #1352 )
2022-08-19 09:24:02 +08:00
Nitromelon
4ef31d7c2d
Log remote real address in AccessLogger ( #1351 )
2022-08-15 13:34:27 +08:00
An Tao
a1d2bd168b
Change the listener port of the cookie test ( #1336 )
2022-07-31 12:56:49 +08:00