Commit Graph

435 Commits

Author SHA1 Message Date
antao
189c537c29 Support host strings with IPv6 address in the HttpClient class 2019-04-24 16:48:03 +08:00
antao
32c14631fa Add the getHandlersInfo() method 2019-04-24 14:38:07 +08:00
antao
863084f26a Add a diagram for AOP join points 2019-04-22 16:11:28 +08:00
an-tao
f6411812d5 Modify AOP 2019-04-18 23:18:13 +08:00
antao
1bc07c5197 Add support for AOP 2019-04-18 18:37:31 +08:00
antao
e517f07685 Add some methods using std::chrono_literals 2019-04-14 14:02:37 +08:00
antao
d5e8bd0b73 Add the OPTIONS method for CORS 2019-04-12 21:45:43 +08:00
antao
1e6a532ed3 Add the setCustom404Page() method 2019-04-09 11:03:16 +08:00
antao
e87c9a75f6 Modify the implementation of WebSocket 2019-04-08 16:37:24 +08:00
antao
6af398ff5a Add FastDbClient instances into the main event loop 2019-04-07 13:49:35 +08:00
antao
3a587ab90b Modify the pipeling test 2019-04-07 12:15:02 +08:00
antao
b96eb04859 Add WebSocket client support 2019-04-07 00:46:22 +08:00
antao
66c518949d Make WebSocket suitable for Firefox browser 2019-04-05 13:33:02 +08:00
antao
d2bb1c10a7 Fix a websocket issue in Linux 2019-04-05 11:36:04 +08:00
antao
62fad73bc9 Enhance HttpClient to support pipelining 2019-04-05 01:50:29 +08:00
an-tao
e128a27c58 Modifying URL encoding of HTTP requests 2019-04-03 00:17:30 +08:00
antao
d216a663aa Modify the HttpController template to be able to specify absolute paths in HttpController 2019-03-31 19:32:16 +08:00
antao
737c9bba8b Provides a way for users to create and initialize controllers and filters with non-default constructors. 2019-03-30 23:09:22 +08:00
antao
aad06fdc3a Add support for plugins 2019-03-29 15:34:14 +08:00
antao
65c101bee0 Add the getLoop() method to the HttpAppFramework class 2019-03-26 10:45:39 +08:00
antao
d12b49cab0 Remove the loop() interface 2019-03-25 20:32:35 +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
db72840fc2 Move utility functions to the utils namespace 2019-03-21 17:47:45 +08:00
antao
fecec81975 1.Remove an unnecessary null pointer check
2.Fix a compilation error for older g++
    3.Update README.md
2019-03-20 11:46:27 +08:00
antao
7ae533671c Add matchedPathPattern() interface in the HttpRequest class
Change version to 0.9.31
2019-03-18 10:44:38 +08:00
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