An Tao
8052c38f49
Make Json::Value as a SQL parameters type ( #861 )
2021-05-22 13:08:17 +08:00
An Tao
3601992546
Move resolverPtr when distorying an HttpClietImpl object ( #860 )
2021-05-20 13:15:59 +08:00
Martin Chang
32970172f6
Make AsyncTask only destruct when the coroutine reaches end of execution ( #857 )
2021-05-18 19:20:15 +08:00
An Tao
9a059aedef
Add the AccessLogger plugin ( #854 )
2021-05-17 21:45:18 +08:00
Martin Chang
706fc70abc
Fix sync_wait/co_future use-after-free ( #855 )
...
* Fix sync_wait and co_future heap use-after-free
* Fix sync_wait deadlock if on a single thread
* Fix WebSocketCoroTest crash
2021-05-17 19:41:16 +08:00
An Tao
cd093fc97e
Add the PreSendingAdvice to AOP ( #853 )
2021-05-16 19:38:16 +08:00
an-tao
08351ccf98
Bump version to 1.6.0
2021-05-15 18:15:13 +08:00
Martin Chang
f736e12a05
Fix double free in coroutine exception handling ( #851 )
2021-05-15 14:10:14 +08:00
An Tao
63738bd578
Fix [-Werror=reorder] ( #852 )
2021-05-15 14:09:24 +08:00
An Tao
74b3ca3db6
Set running flag to true before installing plugins ( #849 )
2021-05-12 23:50:29 +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
Martin Chang
0e70be0a95
Fix coroutine frame leak upon assigning to awaitable ( #848 )
2021-05-12 16:05:20 +08:00
Philip Kovacs
2c53cf086a
Add missing mutex include ( #845 )
2021-05-11 09:24:14 +08:00
An Tao
471488eef1
Use two-phase construction for the DbClientImpl and the RedisClientImpl ( #844 )
2021-05-10 08:31:21 +08:00
LynxesExe
f8e56d85dd
Allow users to override drogon Find modules ( #843 )
2021-05-09 07:26:46 +08:00
Martin Chang
6bfbf97eea
Print error before terminating in AsyncTask ( #841 )
2021-05-06 17:50:11 +08:00
An Tao
f99c72bd5b
Fix an error when constructing RedisClientImpl objects ( #840 )
2021-05-05 09:51:04 +08:00
Tommy Chiang
cb1876f26b
Remove duplicated inclusion ( #838 )
...
This remove the duplicated `#include "HttpClientImpl.h"` in `lib/src/HttpAppFrameworkImpl.cc`.
2021-05-04 22:36:59 +08:00
An Tao
74d57ab7fa
Add the validateCert parameter to the newWebSocketClient method ( #835 )
2021-05-02 20:15:27 +08:00
An Tao
51814b76da
Add the setTimeout() method to the ReidsClient class ( #830 )
2021-04-30 08:00:11 +08:00
Martin Chang
60c877f920
Use make_exception_ptr instead of throw/catch when possible ( #828 )
2021-04-29 17:01:18 +08:00
An Tao
685aaaa3da
Add the setTimeout() method to the DbClient class ( #823 )
2021-04-29 10:13:34 +08:00
An Tao
a33bf2bf34
Send the content-length header even if the body(POST,PUT,OPTIONS,PATCH) is empty ( #825 )
2021-04-28 18:04:57 +08:00
Martin Chang
88c6b6e7d4
Disallow coroutines to be resolved as plain subroutine handlers ( #827 )
2021-04-28 16:58:03 +08:00
Martin Chang
1eea826a52
Fix ORM with SQLite3 not compiling on Arch Linux ( #822 )
2021-04-27 16:41:16 +08:00
An Tao
87d8123276
[HttpClientImpl] Remove the related request from the buffer if it's not sent after the timeout ( #818 )
2021-04-24 21:05:13 +08:00
Philip Kovacs
b067771fa4
Add version/soversion to shared library ( #814 )
2021-04-22 13:22:13 +08:00
An Tao
b2c1c8de9e
Fix an unused-parameter warning when no sqlite library ( #811 )
2021-04-19 13:27:11 +08:00
An Tao
e83026230a
Little changes ( #810 )
...
1. Put parameters in query string if the content-type is not 'application/x-www-form-urlencoded'
2. Parse the mulitpart form data if the method is POST or PUT
3. Send query string when the passThrough flag is set
2021-04-18 21:00:20 +08:00
0rangeFox
df51674792
Enhancements on files part. ( #803 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2021-04-17 14:01:06 +08:00
Bertrand Darbon
0ec2f51fbf
Add option to set default handler ( #802 )
2021-04-16 18:49:39 +08:00
An Tao
d256e93cde
Copy CoroMapper.h to installation location ( #807 )
2021-04-16 15:48:19 +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
An Tao
4eeba18088
Improve the MultiPartParser class ( #800 )
2021-04-14 23:26:38 +08:00
An Tao
8f2609d1bd
Fix a bug of the Transaction class ( #798 )
2021-04-13 15:54:50 +08:00
0rangeFox
f670f71484
A few mini changes to Drogon CTL. ( #795 )
2021-04-11 11:51:48 +08:00
an-tao
d665bedb5c
Bump version to 1.5.1
2021-04-10 20:29:54 +08:00
An Tao
ba8c7b5bca
Fix a bug of reflection failure introduced by #745 ( #793 )
2021-04-10 20:18:51 +08:00
an-tao
8cb327606a
Bump version to 1.5.0
2021-04-10 09:40:34 +08:00
0rangeFox
c65051a8f1
Remove repeated class names on relationships from model generator. ( #792 )
2021-04-09 22:15:49 +08:00
An Tao
4b8d08f20f
Add CoroMapper to models friends ( #790 )
2021-04-09 16:54:40 +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
Martin Chang
a81a5fa63e
Use lambda instead of std::bind in HttpServer ( #787 )
2021-04-06 23:13:53 +08:00
urlordjames
260c9a547f
set make job count to number of threads in GitHub Actions workflow ( #788 )
2021-04-06 22:02:56 +08:00
Martin Chang
a19d0427ed
Catch exceptions thrown by handlers ( #773 )
2021-03-28 10:56:23 +08:00
An Tao
564fc67649
Add a method to HttpRequest to set the user_agent header ( #772 )
2021-03-26 20:37:46 +08:00
mekashef
686068065a
Added newFileResponse Support for buffers in memory ( #770 )
2021-03-26 20:37:05 +08:00
interfector18
49181a22b2
Use canonical cmakelogic for cross compilation, ( #768 )
...
Fix clang c++20 build
2021-03-25 04:27:52 +08:00
An Tao
5f60c9fc6c
Send ping messages by default for websockets ( #767 )
2021-03-24 22:59:57 +08:00