Commit Graph

364 Commits

Author SHA1 Message Date
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
an-tao
74e46d9b02
Merge pull request #2 from an-tao/cache_response
Cache response
2018-10-12 19:00:10 +08:00
antao
4d46b77ea4 Modify ConfigLoader 2018-10-12 18:42:00 +08:00
an-tao
79c6bb4e0a Fix a timer bug for daemon mode 2018-10-12 18:38:17 +08:00
antao
60fae7d1c1 Make a copy of cached response to send 2018-10-12 11:11:48 +08:00
an-tao
602d53ee9d Modify CacheMap 2018-10-11 22:18:19 +08:00
an-tao
9322fcbc54 Simplify the response caching logic 2018-10-11 22:09:59 +08:00
antao
5317982625 Modify HttpAppFrameworkImpl 2018-10-11 19:11:49 +08:00
antao
d5202f11fa Add test method in simple_example 2018-10-11 17:57:24 +08:00
an-tao
520c004259 Decrease map searching 2018-10-11 16:55:41 +08:00
antao
16f7af90d3 Add response cache 2018-10-11 11:20:40 +08:00
an-tao
4171f54c41 Fix a compiling warning 2018-10-09 20:12:47 +08:00
antao
94b76120a5 Optimize function getHttpFullDate() 2018-10-09 19:59:02 +08:00
antao
efb7fce2b9 Update HttpResponseImpl 2018-10-09 19:06:44 +08:00
antao
bc0a844892 Modify HttpResponseImpl 2018-10-09 19:00:00 +08:00
an-tao
38111a4ac8
Merge pull request #1 from an-tao/newCacheMap
Use multi-level wheels to increase the maximum timeout of the CacheMap, up to 50 years by default by using four wheels.
2018-10-09 10:05:50 +08:00
antao
c0a0e74414 Make CacheMap safely destruct 2018-10-09 09:37:41 +08:00
an-tao
b87276f4e4 Modify CacheMap to avoid race conditions 2018-10-09 01:22:17 +08:00
antao
f10ccb6e03 Update trantor 2018-10-08 19:01:20 +08:00
antao
36f18875ec Update trantor 2018-10-08 18:44:23 +08:00
an-tao
171140938e Fix some warnings 2018-10-08 13:32:12 +08:00
antao
9c8604cc95 Fix some bugs in CacheMap 2018-10-08 13:13:10 +08:00
antao
b7738f91e7 Modify CMakeLists.txt 2018-10-07 23:01:43 +08:00
antao
c0ad2c3470 Use multiple wheels in CacheMap 2018-10-07 22:59:22 +08:00
an-tao
a05b846fe3 Including some header files for linux 2018-10-06 23:32:53 +08:00
antao
900cc62306 Add 'log_level' config option 2018-10-06 10:15:46 +08:00
antao
0a0cb2cb76 Add formattedString method 2018-10-06 09:28:53 +08:00
antao
b192790ddf Add some methods in class HttpViewData 2018-10-05 22:43:51 +08:00
antao
0a8354457c Update version 2018-10-05 19:18:09 +08:00
antao
0c6f39c34d Modify create view command of drogon_ctl 2018-10-05 19:17:12 +08:00
antao
0382d2ac83 Update CMakeLists.txt 2018-10-02 21:21:22 +08:00
antao
3a26cb0f1b Update get_version.sh 2018-10-02 20:02:43 +08:00
an-tao
a4b8d1d421 Merge branch 'master' of https://github.com/an-tao/drogon 2018-10-02 19:45:31 +08:00
an-tao
61ff3399b1 Update get_version.sh 2018-10-02 19:44:33 +08:00
antao
d129e43ccc Update config.json.example 2018-10-02 17:20:32 +08:00
an-tao
d008bda302
Update README.md 2018-10-02 16:49:59 +08:00
antao
d04efa98b2 1.Simplify the FunctionTraits;
2.Fix simple_example's bugs
2018-09-29 17:33:19 +08:00
antao
0cd9a2cee3 Add config option max_connections_per_ip 2018-09-29 15:30:27 +08:00
antao
f4c8840308 Merge branch 'master' of https://github.com/an-tao/drogon 2018-09-27 18:26:56 +08:00
antao
c4a6793ca6 Update trantor 2018-09-27 18:26:45 +08:00