Commit Graph

353 Commits

Author SHA1 Message Date
antao 892cd420da Remove unused files 2018-10-28 15:38:22 +08:00
antao 7e36c92281 Optimize CacheMap 2018-10-25 18:07:29 +08:00
an-tao 6699429a7a
Merge pull request #8 from an-tao/kickoff_idle_connections
Kick off idle connections, add the corresponding option in configure file(config.example.json).
2018-10-24 16:54:38 +08:00
an-tao 836c6a4992 Update trantor 2018-10-24 16:49:00 +08:00
antao 93b69d8daa Kick off idle connections 2018-10-24 16:10:28 +08:00
an-tao 9beeea3178
Merge pull request #7 from an-tao/config_simple_controller
Add new configuration options to configuration file for simple controller mapping
2018-10-21 15:00:09 +08:00
antao af53337a6a Add configuration options to the configuration file for simple controller mapping 2018-10-21 14:52:41 +08:00
antao 2fcbc5600f Add 'create filter' sub-command in drogon_ctl 2018-10-20 17:36:14 +08:00
antao 183a31831f Add 'create filter' sub-command in drogon_ctl 2018-10-20 17:35:52 +08:00
antao 1433fc0509 Fix a trivial problem 2018-10-20 16:39:38 +08:00
antao a86baa1f27 Change version to 0.9.5 2018-10-20 14:10:51 +08:00
an-tao 6186ba5132
Merge pull request #6 from an-tao/http_method
Support for directly using a set of HttpMethod as a constraint for controller path configuration
2018-10-20 14:09:32 +08:00
antao fcb2ab7880 HttpMethod 2018-10-20 13:45:17 +08:00
antao eef0ee8729 Use 'any' to support two types of constraints 2018-10-20 12:40:30 +08:00
antao 6745d703db Modify HttpSimpleController.h 2018-10-20 11:50:56 +08:00
antao acc26c0776 Add Http method constraints 2018-10-20 11:20:06 +08:00
antao d283ba193a Fix a bug of Http HEAD method 2018-10-20 11:19:16 +08:00
antao 1d4c4ef897 Update CMakeLists.txt 2018-10-19 18:14:49 +08:00
antao 5da68027e8 Update CMakeLists.txt 2018-10-19 17:24:12 +08:00
antao 3246587375 Update a header file 2018-10-18 16:20:46 +08:00
antao 2008b1fce6 Add drogon.h for drogon users 2018-10-18 15:54:57 +08:00
antao 3c57efe5b6 Delete an unused function 2018-10-17 19:45:17 +08:00
antao 8df7b9c69a Update CMakeLists.txt for using older basename command 2018-10-17 18:43:51 +08:00
antao 40a116193c Modify path matching 2018-10-17 15:06:24 +08:00
antao 1b37db12e0 Update cmake template file in drogon_ctl 2018-10-17 14:00:23 +08:00
an-tao 3ccb1490a9
Merge pull request #5 from an-tao/add_drogon_template
1. Add DrTemplate class to make views. 
2. Add support for view nesting.
2018-10-17 13:51:18 +08:00
antao c86ec77d26 Add support for view nesting 2018-10-17 13:48:28 +08:00
antao 4f8dbfa5d9 Add DrTemplate class implementing a simple but powerful template language for C++ 2018-10-17 10:50:51 +08:00
antao 8e92c42c29 Optimize regular expressions 2018-10-17 09:40:15 +08:00
an-tao a50ba92ee0
Merge pull request #4 from an-tao/remove_boost_any
Use std::experimental::any to instead of boost::any in early version gcc
2018-10-16 13:01:57 +08:00
antao 112a541044 Change version to 0.9.4 2018-10-16 11:18:29 +08:00
an-tao b217644ba9 Fix a bug of any_cast 2018-10-16 11:07:50 +08:00
antao 23b8d7447a Remove boost::any 2018-10-16 10:59:32 +08:00
an-tao e3ee8873c5 Modify drogon_ctl 2018-10-15 22:46:53 +08:00
antao a5bdadc3a3 Modify the policy of using the sendfile() system call 2018-10-15 18:18:45 +08:00
an-tao 3bca1cdb0b
Merge pull request #3 from an-tao/cache_static_file
Cache static files for several seconds to promote the performance
2018-10-15 16:21:20 +08:00
antao 5362de9a58 Modify log output 2018-10-15 16:17:13 +08:00
an-tao b81584ff2e Modify log output 2018-10-15 16:13:45 +08:00
antao 4ac5544a54 Optimize files caching 2018-10-15 15:58:11 +08:00
antao 944c981393 Modify framework for request header 'If-Modified-Since' (please refer to rfc2616-14.25) 2018-10-15 15:32:00 +08:00
antao 0787f63922 Modify HttpAppFrameworkImpl for static files cache 2018-10-15 14:01:18 +08:00
antao b539b5231c Modify drogon_ctl 2018-10-15 13:34:38 +08:00
antao af8a1ef15a Adjust critical area protected by _staticFilesCacheMutex 2018-10-15 11:31:30 +08:00
antao 9181721679 Cache the static files response 2018-10-15 11:13:14 +08:00
an-tao 30ab9e09b1 Handle the details of the OpenSSL library 2018-10-14 19:57:17 +08:00
antao c9b3dcd9c2 Format all files 2018-10-14 15:56:54 +08:00
antao cd6fab7a39 Modify examples 2018-10-14 11:56:18 +08:00
antao 93a07ed17a 1.Add gzip option in config file;
2.rename config example file's name
2018-10-14 11:53:05 +08:00
antao f6c50f2370 Change version to 0.9.3 2018-10-13 21:51:30 +08:00
antao 0a3d27a5b0 Optimize response caching 2018-10-13 21:49:37 +08:00