Omar Mohamed Khallaf
bf4ff759ad
Fix typo in config ( #1593 )
...
change 'enabled_compresed_request' to 'enabled_compressed_request'
2023-05-08 23:37:52 +08:00
Charles
2caa8c4a34
Add webp and svg to the default file_types ( #1575 )
2023-04-27 15:19:33 +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
394f9bd0d4
Add the stackLimit option for jsoncpp ( #1518 )
2023-03-01 10:49:25 +08:00
An Tao
313392a9b6
Add a configuration option to display local time in logs ( #1513 )
2023-02-19 23:04:25 +08:00
Martin Chang
9524a91479
Support compressed request ( #1291 )
2022-07-02 22:07:48 +08:00
An Tao
ebf87d69d7
Support pipeline mode on PostgreSQL 14+ ( #1169 )
...
Co-authored-by: He, Wanchen <hwc14@qq.com>
2022-06-05 21:10:42 +08:00
An Tao
4f2cbd4135
Fix some configuration file issues ( #1249 )
2022-05-14 13:59:49 +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
Martin Chang
56cb305ae3
Support custom MIME types and extensions ( #1024 )
...
* Drogon now support custom extension and MIME types
* Added contentTypeString() to retrieve the string version of content type (in case the content type is not in the ContentType enum)
* setCustomContentTypeAndString() also accepts MIME as input (instead of the full content-type header string),
* Remove webContentTypeToString()
* Added app().registerCustomExtensionMime()
* Added support to load custom extension from JSON config
2021-09-24 22:51:09 +08:00
Tommy Chiang
e1cbd1b987
Add SSL_CONF_cmd support ( #871 )
2021-05-29 16:53:46 +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
51814b76da
Add the setTimeout() method to the ReidsClient class ( #830 )
2021-04-30 08:00:11 +08:00
An Tao
685aaaa3da
Add the setTimeout() method to the DbClient class ( #823 )
2021-04-29 10:13:34 +08:00
An Tao
6d9aa3b44c
Add redis support ( #719 )
2021-03-13 19:13:54 +08:00
Bertrand Darbon
bcd8e27a36
feature(signal): Add option to disable signal handling ( #742 )
2021-03-11 22:03:02 +08:00
An Tao
ec59dbbc3d
Add option for setting float precision in Json string ( #666 )
2020-12-24 20:00:29 +08:00
ivanka2012
1abd8b3506
Add implicit page resolving capability (a-directory -> a-directory/index.html) ( #647 )
...
Co-authored-by: an-tao <antao2002@gmail.com>
2020-12-11 14:02:47 +08:00
An Tao
7dd2d6123b
Add the reuse_port option ( #634 )
2020-11-25 19:47:36 +08:00
An Tao
465d2ebfe8
Disable TLS1.0/1.1 on HTTPS by default ( #588 )
2020-10-01 23:40:46 +08:00
An Tao
8f6269b208
Add a method to disable unicode escaping in json string ( #491 )
2020-06-24 08:11:32 +08:00
An Tao
3424d3f2c4
Add a way to set the character set when creating DbClient objects ( #486 )
2020-06-20 20:21:14 +08:00
adrian
fd2a612945
add digest filter in examples ( #462 )
...
* add digest filter in examples
* Add getMd5() function to the public API
Co-authored-by: Adrián Ortiz Gutiérrez <aortiz@MacBook-Pro.local>
Co-authored-by: antao <antao2002@gmail.com>
2020-06-07 14:43:05 +08:00
An Tao
490def6742
Add filters on static file locations ( #422 )
2020-05-03 08:21:34 +08:00
An Tao
c43ba9e514
Add support for brotli compression ( #406 )
2020-04-04 18:15:15 +08:00
An Tao
ee77800821
Implement br_static ( #359 )
2020-02-23 17:39:03 +08:00
An Tao
71b60823da
Modify dynamic view loading algorithm ( #339 )
2020-02-16 17:19:16 +08:00
An Tao
58702dc41e
Port drogon to Windows ( #335 )
...
Co-authored-by: mcirsta <mforce2@gmail.com>
2020-01-25 11:58:20 +08:00
antao
fb2343ac74
Add location configuration for static resources ( #331 )
2020-01-12 11:05:38 +08:00
An Tao
5c1c73d9b6
Add the SecureSSLRedirector plugin ( #306 )
2019-11-30 08:35:40 +08:00
An Tao
dbf20200fc
Add the headers configuration option for static files ( #290 )
2019-10-31 15:47:12 +08:00
An Tao
ba7d788184
Add options for 'Server' header and 'Date' header ( #202 )
2019-07-31 19:44:32 +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
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
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
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
3a587ab90b
Modify the pipeling test
2019-04-07 12:15:02 +08:00
antao
92fa1f83e4
Update test.sh and config.example.json
2019-03-31 18:30:06 +08:00
antao
aad06fdc3a
Add support for plugins
2019-03-29 15:34:14 +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
250781ac08
Add configuration options that limit the number of keep-alive requests
2019-03-12 18:22:13 +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
022132c33e
Add json format response benchmark
2019-01-31 10:23:12 +08:00