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
antao
cdd8ba380e
1. Modify the HttpClientImpl class to fix some bugs;
...
2. Support attachment download;
2019-01-28 18:25:04 +08:00
antao
5c9799c15a
Modify http client for cookies
2019-01-02 16:13:36 +08:00
antao
bc52c121d5
Add sqlite3 support to the configuration file
2018-12-29 17:17:50 +08:00
antao
8b461326d8
Modify the ConfigLoader.cc file
2018-12-17 14:22:25 +08:00
antao
a72fc5e433
Update the configuration file
2018-12-04 17:11:39 +08:00
antao
458d14591b
Modify some strings
2018-12-03 10:13:31 +08:00
antao
cd1139cf83
Update save methods of uploaded files
2018-11-26 16:36:57 +08:00
antao
d3931c73fd
Add database client options to the configuration file
2018-11-12 13:39:22 +08:00
antao
7d45746474
Update configuration file
2018-11-11 11:00:46 +08:00