Commit Graph

409 Commits

Author SHA1 Message Date
antao
afdb7d26da Fix a compilation warning 2019-03-17 21:09:05 +08:00
antao
db266d9aad Modify HttpRequestParser to handle invalid requests 2019-03-15 16:55:36 +08:00
antao
053c760d27 Rename the InnerIpFilter class 2019-03-14 11:25:12 +08:00
an-tao
0e447a1f9e Adapt ipv6 2019-03-13 23:44:53 +08:00
antao
250781ac08 Add configuration options that limit the number of keep-alive requests 2019-03-12 18:22:13 +08:00
antao
aa539f85cd Modify some functions 2019-03-12 13:52:10 +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
2e24d8c7f5 Optimize the 'setMethod' function in the HttpRequestImpl class 2019-03-06 12:51:29 +08:00
antao
1e1bcbf781 Remove unnecessary comparisons from regular expression matching and change version to 0.9.28 2019-03-05 11:19:10 +08:00
antao
7232536aee Delay parsing parameters untils needed 2019-03-05 11:08:14 +08:00
an-tao
bbd840bd3b Modify the httpserver class to support processing multiple requests at once 2019-03-04 23:17:29 +08:00
antao
56ae5f459f Do some optimization 2019-03-02 12:25:08 +08:00
antao
e0147fac8b Add an interface to set the 'Server' header field 2019-03-02 09:27:45 +08:00
an-tao
0f51ac56c0 Fix a new bug in last commit 2019-03-01 18:30:51 +08:00
antao
c06affed2a Update the submodule trantor 2019-03-01 18:12:20 +08:00
antao
6d16877e7b Add the getParameter() method into the HttpRequest class 2019-02-27 14:29:50 +08:00
antao
49c03ee707 Add htmlTranslate() method 2019-02-27 10:36:03 +08:00
antao
bb686d41d8 Use experimental::basic_string_view on gcc5 2019-02-23 01:02:14 +08:00
antao
4d46ebed9b Add some comments 2019-02-22 18:00:25 +08:00
antao
70e7089e7d Process the HEAD method request 2019-02-22 14:03:34 +08:00
antao
aab31ba64e Modify the HttpServer class 2019-02-21 14:02:05 +08:00
an-tao
450e5c5e0c Use std::string_view to improve performance 2019-02-20 23:32:00 +08:00
antao
4d1c0ffe06 Optimize content-type and status in http header 2019-02-20 18:16:55 +08:00
antao
7f21f45a1b Add the fast db client enablation option 2019-02-20 13:23:50 +08:00
antao
ca98eccdfe Disable db fast clients 2019-02-19 10:08:00 +08:00
antao
358e45598b Add lock-free db client class 2019-02-18 18:42:10 +08:00
antao
8829203d04 Modify the Session class and the HttpViewData class 2019-02-12 15:47:32 +08:00
antao
2d3ff02e03 Add some comments 2019-02-12 13:18:59 +08:00
antao
a44a0fc3e8 Add some comments 2019-02-04 14:48:36 +08:00
antao
e7dbb3bbc5 Remove 'using namespace drogon' from public headers 2019-02-02 13:45:40 +08:00
antao
bdcb42ce55 Merge branch 'master' of https://github.com/an-tao/drogon 2019-02-02 13:31:10 +08:00
antao
e77b558a71 Modify urlDecode() method 2019-02-02 13:26:19 +08:00
an-tao
287a7b5208 Add a header including in linux 2019-02-02 12:09:14 +08:00
antao
7b6211f2ce Modify code style 2019-02-02 11:47:28 +08:00
antao
7041783579 Modify code style 2019-02-02 11:34:00 +08:00
antao
5b24e90f94 Modify README 2019-02-02 10:12:57 +08:00
antao
82100926e5 Change version to 0.9.24 2019-02-01 18:59:13 +08:00
antao
d16287c9dd Remove spin-locks 2019-02-01 18:00:34 +08:00
antao
ad86c8f66e Modify the SpinLock 2019-02-01 00:32:35 +08:00
antao
7bdd421917 Format code 2019-01-31 15:48:04 +08:00
antao
1746e36eb4 1.Update the submodule trantor;
2.Optimize the logic of connection counting;
2019-01-31 14:12:01 +08:00
antao
022132c33e Add json format response benchmark 2019-01-31 10:23:12 +08:00
antao
5b3049e854 Add a macro 2019-01-30 15:08:35 +08:00
an-tao
acd56f2cee Add memory order to the list of clear() parameters 2019-01-30 13:09:48 +08:00
antao
245faabfce Use the user space spinlock for performance reasons 2019-01-30 12:27:16 +08:00
antao
6ebae287a3 Make the 'any' works correctly with either C++17 or C++14 2019-01-30 09:37:30 +08:00
an-tao
cbbee440ea Compatible with older versions of gcc 2019-01-29 22:24:32 +08:00
antao
35d98576f1 Change version to 0.9.22 2019-01-29 18:03:15 +08:00
antao
55ba4c5196 Support file upload requests 2019-01-29 17:38:55 +08:00