Commit Graph

176 Commits

Author SHA1 Message Date
An Tao
c705990fe5
Add the DrogonConfig.cmake (#207)
Add DrogonConfig.cmake so that users can use drogon with the `find_package(Drogon)` command.
2019-08-08 15:17:09 +08:00
An Tao
bf9313a164
Modify the 'create view' command of drogon_ctl (#208) 2019-08-07 12:55:14 +08:00
An Tao
ba7d788184
Add options for 'Server' header and 'Date' header (#202) 2019-07-31 19:44:32 +08:00
antao
40087fba9c Remove config.h
Modify the CMakeLists.txt

Remove the USE_ORM macro

Update trantor

Remove some std::dynamic_pointer_cast calls
2019-07-29 14:53:41 +08:00
An Tao
33577b9666
Format some files for good code style (#196) 2019-07-16 20:00:20 +08:00
antao
b155aa1b1a Add a README file for examples 2019-07-10 17:57:47 +08:00
antao
bcac1d4899 Make the number of the connections of Fast DB Clients configurable 2019-07-08 18:21:18 +08:00
antao
65173e7e97 Update trantor 2019-06-27 15:37:41 +08:00
antao
c2eac3297c Fix a bug of the drogon_ctl command 2019-06-26 17:58:25 +08:00
antao
40c26f01e4 Modify the parameters of drogon_ctl command 2019-06-22 21:51:14 +08:00
antao
ad2a27e849 Add stress testing command to drogon_ctl 2019-06-14 09:04:59 +08:00
antao
e714ae875e Use a temporary file instead of memory to store a large Http body recieved by drogon 2019-06-06 14:59:49 +08:00
antao
cdcddc8ddb Modify containers of AOP 2019-06-05 09:28:39 +08:00
antao
3452a2fa1c Modify some code to get a good style 2019-05-23 18:57:45 +08:00
antao
11b6d20a69 clang-format 2019-05-18 20:39:57 +08:00
antao
e696553b3d Change the callback type in Filters and AOP Advices to the r-reference type 2019-05-09 13:57:33 +08:00
antao
00049c0d23 Change the type of the callback in HTTP request handlers to r-reference type 2019-05-09 11:25:25 +08:00
antao
66c6441c96 Return index.html to the client requesting '/' 2019-05-07 23:19:26 +08:00
antao
a85c64ac69 Add two configuration options: the client_max_body_size and the client_max_websocket_message_size 2019-05-07 14:04:37 +08:00
antao
0a27394cca Change version to 0.9.33 2019-05-05 15:43:17 +08:00
antao
2efa183b93 Implement gzip_static 2019-05-03 14:44:20 +08:00
antao
e48692939c Modify some interfaces 2019-04-29 14:47:23 +08:00
antao
fa9376b89a Change escapes from '{{}}' to '[[]]' in views 2019-04-25 14:36:42 +08:00
antao
3a587ab90b Modify the pipeling test 2019-04-07 12:15:02 +08:00
antao
b96eb04859 Add WebSocket client support 2019-04-07 00:46:22 +08:00
antao
62fad73bc9 Enhance HttpClient to support pipelining 2019-04-05 01:50:29 +08:00
antao
92fa1f83e4 Update test.sh and config.example.json 2019-03-31 18:30:06 +08:00
antao
7ffd47101f Update test.sh for testing drogon_ctl 2019-03-31 00:27:12 +08:00
antao
aad06fdc3a Add support for plugins 2019-03-29 15:34:14 +08:00
antao
8ae07ce195 Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR in CMakeLists.txt files 2019-03-27 19:32:09 +08:00
antao
ff3d87da13 Modify config.example.json 2019-03-27 13:11:02 +08:00
antao
66456eae1a 1. Add the getCustomCOnfig() method.
2. Add some comments.
2019-03-25 17:44:22 +08:00
antao
894b634b22 Adjust the execution order inside the run() method
Modify the configuration of fast database clients
Modify the ConfigLoader class
2019-03-23 11:26:21 +08:00
antao
db72840fc2 Move utility functions to the utils namespace 2019-03-21 17:47:45 +08:00
antao
250781ac08 Add configuration options that limit the number of keep-alive requests 2019-03-12 18:22:13 +08:00
antao
d63423545b Modify the drogon_ctl command 2019-03-09 10:31:58 +08:00
antao
801cb8aa35 Modify some database classes 2019-03-07 11:56:20 +08:00
antao
b39dd52a87 Modify some comments 2019-03-06 15:57:05 +08:00
antao
e0147fac8b Add an interface to set the 'Server' header field 2019-03-02 09:27:45 +08:00
antao
7f21f45a1b Add the fast db client enablation option 2019-02-20 13:23:50 +08:00
antao
e7dbb3bbc5 Remove 'using namespace drogon' from public headers 2019-02-02 13:45:40 +08:00
antao
7041783579 Modify code style 2019-02-02 11:34:00 +08:00
antao
022132c33e Add json format response benchmark 2019-01-31 10:23:12 +08:00
antao
7c8432add0 Support http request in json format 2019-01-22 23:00:14 +08:00
an-tao
d5d90d2f6f Modify code style 2019-01-21 23:59:28 +08:00
an-tao
ef389b6ec9 Organize code style 2019-01-21 22:25:20 +08:00
antao
a9e9ced331 Use references instead of values in range-based for loop 2019-01-21 17:39:31 +08:00
antao
01de7f4f1e Remove expired filter classes 2019-01-16 10:03:11 +08:00
antao
926ac48b49 Modify drogon_ctl 2018-12-29 18:02:39 +08:00
antao
bc52c121d5 Add sqlite3 support to the configuration file 2018-12-29 17:17:50 +08:00